Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -11,7 +11,7 @@ WORKDIR /app
|
|
11 |
RUN pip install -r requirements.txt
|
12 |
|
13 |
# Make port 8501 available to the world outside this container
|
14 |
-
EXPOSE
|
15 |
|
16 |
RUN mkdir ~/.streamlit
|
17 |
|
@@ -19,6 +19,6 @@ RUN cp config.toml ~/.streamlit/config.toml
|
|
19 |
|
20 |
RUN cp credentials.toml ~/.streamlit/credentials.toml
|
21 |
|
22 |
-
ENTRYPOINT [
|
23 |
# Run app3.py when the container launches
|
24 |
CMD [ "app3.py"]
|
|
|
11 |
RUN pip install -r requirements.txt
|
12 |
|
13 |
# Make port 8501 available to the world outside this container
|
14 |
+
EXPOSE 8501
|
15 |
|
16 |
RUN mkdir ~/.streamlit
|
17 |
|
|
|
19 |
|
20 |
RUN cp credentials.toml ~/.streamlit/credentials.toml
|
21 |
|
22 |
+
ENTRYPOINT ["streamlit", "run", "streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
23 |
# Run app3.py when the container launches
|
24 |
CMD [ "app3.py"]
|