Update Dockerfile
Browse files- Dockerfile +3 -4
Dockerfile
CHANGED
@@ -56,7 +56,6 @@ RUN groupadd -r appgroup --gid 1000 && \
|
|
56 |
|
57 |
# Set Streamlit home directory (already created and chowned under appuser)
|
58 |
ENV STREAMLIT_HOME=/home/appuser/.streamlit
|
59 |
-
# Set environment variable to disable telemetry (alternative to CLI flag)
|
60 |
ENV BROWSER_GATHERUSAGEDATA=false
|
61 |
|
62 |
# Set the working directory in the container
|
@@ -69,9 +68,9 @@ COPY --chown=appuser:appgroup requirements.txt .
|
|
69 |
USER appuser
|
70 |
RUN pip install --no-cache-dir --upgrade pip && \
|
71 |
echo "Attempting to install packages from requirements.txt" && \
|
72 |
-
pip install --user --no-cache-dir -r requirements.txt
|
73 |
-
echo "Attempting to install streamlit-sortable from GitHub"
|
74 |
-
pip install --user --no-cache-dir git+https://github.com/okld/streamlit-sortable.git
|
75 |
|
76 |
# Add user's local bin to PATH
|
77 |
ENV PATH="/home/appuser/.local/bin:${PATH}"
|
|
|
56 |
|
57 |
# Set Streamlit home directory (already created and chowned under appuser)
|
58 |
ENV STREAMLIT_HOME=/home/appuser/.streamlit
|
|
|
59 |
ENV BROWSER_GATHERUSAGEDATA=false
|
60 |
|
61 |
# Set the working directory in the container
|
|
|
68 |
USER appuser
|
69 |
RUN pip install --no-cache-dir --upgrade pip && \
|
70 |
echo "Attempting to install packages from requirements.txt" && \
|
71 |
+
pip install --user --no-cache-dir -r requirements.txt
|
72 |
+
# REMOVED: && echo "Attempting to install streamlit-sortable from GitHub"
|
73 |
+
# REMOVED: && pip install --user --no-cache-dir git+https://github.com/okld/streamlit-sortable.git
|
74 |
|
75 |
# Add user's local bin to PATH
|
76 |
ENV PATH="/home/appuser/.local/bin:${PATH}"
|