maj Dockerfile
This commit is contained in:
parent
4b40fcf844
commit
72232d84a4
@ -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…
x
Reference in New Issue
Block a user