Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
@@ -66,9 +66,7 @@ COPY . .
|
|
66 |
|
67 |
# Expose the port that the application listens on.
|
68 |
EXPOSE 7860
|
69 |
-
EXPOSE 8501
|
70 |
|
71 |
# Run the application.
|
72 |
# CMD uvicorn 'main:app' --host=0.0.0.0 --port=8000
|
73 |
-
|
74 |
-
CMD ["bash", "-c", "streamlit run BrainBot.py --server.port 8501"]
|
|
|
66 |
|
67 |
# Expose the port that the application listens on.
|
68 |
EXPOSE 7860
|
|
|
69 |
|
70 |
# Run the application.
|
71 |
# CMD uvicorn 'main:app' --host=0.0.0.0 --port=8000
|
72 |
+
CMD ["bash", "-c", "uvicorn main:app --host 0.0.0.0 --port 7860 & streamlit run BrainBot.py --server.port 8501"]
|
|