maj Dockerfile
This commit is contained in:
parent
4b40fcf844
commit
72232d84a4
@ -1,13 +1,7 @@
|
|||||||
FROM python:3.8-slim-bullseye
|
FROM python:3.8-slim-bullseye
|
||||||
|
|
||||||
WORKDIR /python-docker
|
WORKDIR /python-docker
|
||||||
|
|
||||||
COPY ./requirements.txt requirements.txt
|
COPY ./requirements.txt requirements.txt
|
||||||
|
|
||||||
RUN python3 -m pip install -r requirements.txt
|
RUN python3 -m pip install -r requirements.txt
|
||||||
|
|
||||||
COPY ./ .
|
COPY ./ .
|
||||||
|
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|
||||||
CMD [ "python3", "-m" , "flask", "run", "--host=0.0.0.0"]
|
CMD [ "python3", "-m" , "flask", "run", "--host=0.0.0.0"]
|
Loading…
x
Reference in New Issue
Block a user