Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +8 -0
Dockerfile
CHANGED
|
@@ -3,5 +3,13 @@ FROM extralitdev/extralit-hf-space:latest
|
|
| 3 |
# Copy the auth config section
|
| 4 |
COPY .oauth.yaml /home/extralit/
|
| 5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
# Uncoment this line to remove the persistence storage warning
|
| 7 |
ENV EXTRALIT_SHOW_HUGGINGFACE_SPACE_PERSISTENT_STORAGE_WARNING=false
|
|
|
|
| 3 |
# Copy the auth config section
|
| 4 |
COPY .oauth.yaml /home/extralit/
|
| 5 |
|
| 6 |
+
USER root
|
| 7 |
+
RUN apt-get update && \
|
| 8 |
+
apt-get install -y git git-lfs wget curl procps && \
|
| 9 |
+
rm -rf /var/lib/apt/lists/* && \
|
| 10 |
+
ln -s /home/extralit /app && \
|
| 11 |
+
chown -h extralit:extralit /app
|
| 12 |
+
USER extralit
|
| 13 |
+
|
| 14 |
# Uncoment this line to remove the persistence storage warning
|
| 15 |
ENV EXTRALIT_SHOW_HUGGINGFACE_SPACE_PERSISTENT_STORAGE_WARNING=false
|