Spaces:
Sleeping
Sleeping
Update deployment files with latest app.py and requirements.txt
Browse files- .streamlit/config.toml +3 -0
- Dockerfile +4 -1
.streamlit/config.toml
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
[browser]
|
| 3 |
+
gatherUsageStats = false
|
Dockerfile
CHANGED
|
@@ -7,9 +7,12 @@ WORKDIR /app
|
|
| 7 |
#copy all the files from the current directory on the host to the container's /app directory
|
| 8 |
COPY . .
|
| 9 |
|
| 10 |
-
#Install python dependencies listed in requirements.
|
| 11 |
RUN pip install -r requirements.txt
|
| 12 |
|
|
|
|
|
|
|
|
|
|
| 13 |
RUN useradd -m -u 1000 user
|
| 14 |
USER user
|
| 15 |
ENV HOME=/home/user \
|
|
|
|
| 7 |
#copy all the files from the current directory on the host to the container's /app directory
|
| 8 |
COPY . .
|
| 9 |
|
| 10 |
+
# Install python dependencies listed in requirements.txt
|
| 11 |
RUN pip install -r requirements.txt
|
| 12 |
|
| 13 |
+
# Copy Streamlit configuration
|
| 14 |
+
COPY engine/deployment/.streamlit /root/.streamlit
|
| 15 |
+
|
| 16 |
RUN useradd -m -u 1000 user
|
| 17 |
USER user
|
| 18 |
ENV HOME=/home/user \
|