update dockerfile

Error with docker compose
update pip install
This commit is contained in:
jeanGaston 2024-01-30 09:13:00 +01:00
parent 4c8b390756
commit 53cf88d79b
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ COPY ./Helloworld.py /app/
EXPOSE 5000 EXPOSE 5000
# Install any dependencies # Install any dependencies
RUN pip install --no-cache-dir Flask==2.1.2 RUN pip install --no-cache-dir flask
# Set the entry point # Set the entry point
CMD ["python", "Helloworld.py"] CMD ["python", "Helloworld.py"]

View File

@ -10,7 +10,7 @@ services:
build: build:
context: ./WebGui context: ./WebGui
dockerfile: ./DOCKERFILE dockerfile: ./DOCKERFILE
port: ports:
- '80:5000' - '80:5000'
# database: # database: