maj Dockerfile

master
greglebreton 2 years ago
parent 4b40fcf844
commit 72232d84a4
  1. 6
      app/Dockerfile

@ -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"]
Loading…
Cancel
Save