Skip to content

Commit c1b4f78

Browse files
committed
reflect changes to dockerfie
1 parent 4073d30 commit c1b4f78

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
context: .
55
dockerfile: dockerfiles/backend.Dockerfile
66
image: ks6088ts/azure-ai-services-solutions:backend-latest
7-
command: python main.py backend --port 8888 --debug
7+
command: python main.py backend --port 8888
88
ports:
99
- 8888:8888
1010
volumes:
@@ -16,7 +16,7 @@ services:
1616
context: .
1717
dockerfile: dockerfiles/frontend.Dockerfile
1818
image: ks6088ts/azure-ai-services-solutions:frontend-latest
19-
command: streamlit run main.py --server.port=8501 --server.address=0.0.0.0 -- frontend --solution-name sandbox --backend-url http://backend:8888 --debug
19+
command: streamlit run frontend/main.py
2020
ports:
2121
- 8501:8501
2222
volumes:

dockerfiles/frontend.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ COPY . .
2121
# Install dependencies
2222
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
2323

24-
CMD ["python", "main.py", "frontend", "--help"]
24+
CMD ["streamlit", "run", "frontend/main.py", "--help"]

0 commit comments

Comments
 (0)