maj Dockerfile

This commit is contained in:
greglebreton 2023-03-19 23:58:42 +01:00
parent 4b40fcf844
commit 72232d84a4

View File

@ -1,13 +1,7 @@
FROM python:3.8-slim-bullseye
WORKDIR /python-docker
COPY ./requirements.txt requirements.txt
RUN python3 -m pip install -r requirements.txt
COPY ./ .
EXPOSE 5000
CMD [ "python3", "-m" , "flask", "run", "--host=0.0.0.0"]