hasslesstech 8b7e93bd67
use volumes instead of copying application files
This change drastically reduces the amount of rebuilding required during
application development and debugging stages.
2024-10-28 14:08:23 +02:00

13 lines
254 B
Docker

FROM python:3.11-slim-bullseye
WORKDIR /app
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
CMD flask run -h 0.0.0.0 -p $PORT