We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 32d66f1 + 49ce8e4 commit bc8f45bCopy full SHA for bc8f45b
Dockerfile
@@ -1,5 +1,6 @@
1
FROM python:3.7.7-slim-buster
2
ENV PARAMETERS=./defaults/webapp.cfg
3
+ENV PORT=8000
4
WORKDIR /app
5
COPY README.md .
6
COPY setup.cfg .
@@ -10,6 +11,4 @@ COPY defaults defaults
10
11
COPY src src
12
COPY st_app.py st_app.py
13
RUN pip install -q .
-
14
-CMD ["streamlit", "run", "st_app.py"]
15
+CMD STREAMLIT_SERVER_PORT=$PORT streamlit run st_app.py
heroku.yml
@@ -1,5 +1,5 @@
build:
docker:
- web: Dockerfile.dash
+ web: Dockerfile
config:
PORT: ${PORT}
0 commit comments