backend-development-course/Dockerfile

15 lines
277 B
Docker
Raw Normal View History

FROM python:3.11-slim-bullseye
WORKDIR /app
2024-09-25 14:56:37 +03:00
RUN rm /etc/localtime
RUN ln -s /usr/share/zoneinfo/Europe/Kyiv /etc/localtime
COPY ./requirements.txt /app/requirements.txt
RUN python -m pip install -r requirements.txt
COPY ./app/ /app/app/
CMD flask run -h 0.0.0.0 -p $PORT