moving to docker

This commit is contained in:
2023-05-14 20:28:29 +03:00
parent 6f7219ff7b
commit d5802fa48f
62 changed files with 87 additions and 0 deletions

8
api/Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM python:3.11.3
WORKDIR /app
ENV PYTHONBUFFERED=1
COPY requirements.txt /app
RUN pip install -r requirements.txt --no-cache-dir
COPY /app /app
ENTRYPOINT ["python"]
CMD ["manage.py", "runserver", "0.0.0.0:8000"]