fixed docker

This commit is contained in:
2024-02-05 22:09:26 +07:00
parent f5cac5e410
commit e513a84999
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,4 +9,4 @@ RUN pip install -r requirements.txt
COPY . /build/ COPY . /build/
# CMD ["python3", "-m", "flask", "run", "--host=0.0.0.0"] CMD ["python3", "-m", "flask", "run", "--host=0.0.0.0"]
+1 -1
View File
@@ -1,4 +1,5 @@
version: "3" version: "3"
services: services:
app: app:
build: build:
@@ -6,4 +7,3 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
ports: ports:
- "80:5000" - "80:5000"
network_mode: "host"