update dockerfile
Error with docker compose update pip install
This commit is contained in:
parent
4c8b390756
commit
53cf88d79b
@ -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"]
|
||||||
|
|||||||
@ -10,7 +10,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./WebGui
|
context: ./WebGui
|
||||||
dockerfile: ./DOCKERFILE
|
dockerfile: ./DOCKERFILE
|
||||||
port:
|
ports:
|
||||||
- '80:5000'
|
- '80:5000'
|
||||||
|
|
||||||
# database:
|
# database:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user