Spaces:
Runtime error
Runtime error
remove uvicorn
Browse files- Dockerfile +3 -5
Dockerfile
CHANGED
@@ -19,15 +19,13 @@ RUN apt-get update && apt-get install -y \
|
|
19 |
# Install Python dependencies
|
20 |
RUN pip install --no-cache-dir -r requirements.txt
|
21 |
|
22 |
-
#
|
23 |
-
|
24 |
|
25 |
-
# Install uvicorn
|
26 |
-
RUN pip install uvicorn
|
27 |
|
28 |
# ENTRYPOINT ["bash", "-c", "streamlit run app.py --server.port=${PORT:-8501} --server.address=0.0.0.0"]
|
29 |
|
30 |
-
|
31 |
|
32 |
# CMD ["--host", "0.0.0.0", "--port", "7860"]
|
33 |
|
|
|
19 |
# Install Python dependencies
|
20 |
RUN pip install --no-cache-dir -r requirements.txt
|
21 |
|
22 |
+
# Expose the port Streamlit runs on
|
23 |
+
EXPOSE 8501
|
24 |
|
|
|
|
|
25 |
|
26 |
# ENTRYPOINT ["bash", "-c", "streamlit run app.py --server.port=${PORT:-8501} --server.address=0.0.0.0"]
|
27 |
|
28 |
+
|
29 |
|
30 |
# CMD ["--host", "0.0.0.0", "--port", "7860"]
|
31 |
|