This commit is contained in:
2023-05-26 22:05:56 +03:00
parent 31bbe33830
commit b629131724
2 changed files with 4 additions and 4 deletions

View File

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