Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -25,6 +25,7 @@ WORKDIR $HOME/app
|
|
25 |
COPY --chown=user requirements.txt $HOME/app
|
26 |
|
27 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
28 |
RUN mkdir -p ~/.streamlit && \
|
29 |
echo "\
|
30 |
[server]\n\
|
@@ -47,7 +48,7 @@ COPY --chown=user Model $HOME/app
|
|
47 |
# Expose the port the app runs on
|
48 |
# EXPOSE 7860
|
49 |
EXPOSE 8501
|
50 |
-
|
51 |
|
52 |
# Start the application
|
53 |
# CMD ["streamlit", "run", "app.py"]
|
|
|
25 |
COPY --chown=user requirements.txt $HOME/app
|
26 |
|
27 |
RUN pip install --no-cache-dir -r requirements.txt
|
28 |
+
ENV PORT 8501
|
29 |
RUN mkdir -p ~/.streamlit && \
|
30 |
echo "\
|
31 |
[server]\n\
|
|
|
48 |
# Expose the port the app runs on
|
49 |
# EXPOSE 7860
|
50 |
EXPOSE 8501
|
51 |
+
|
52 |
|
53 |
# Start the application
|
54 |
# CMD ["streamlit", "run", "app.py"]
|