Skip to content

Commit 6ed0869

Browse files
Added dockerfile
1 parent baf906a commit 6ed0869

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM python:3.12-slim
2+
WORKDIR /app
3+
COPY requirements.txt .
4+
RUN pip install --no-cache-dir -r requirements.txt
5+
COPY . .
6+
RUN python manage.py collectstatic --noinput
7+
ENV DJANGO_SETTINGS_MODULE=DR_Detection.settings \
8+
PYTHONUNBUFFERED=1
9+
CMD ["gunicorn", "DR_Detection.wsgi:application", "--bind", "0.0.0.0:8000", "--timeout", "120"]

db.sqlite3

Whitespace-only changes.

0 commit comments

Comments
 (0)