add Dockerfile

This commit is contained in:
2024-04-07 23:07:48 +00:00
parent fe742be571
commit e669809741

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM python:3.9
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
RUN python manage.py makemigrations
RUN python manage.py migrate
EXPOSE 8080
CMD ["python", "manage.py", "runserver", "0.0.0.0:8080"]