Spaces:
Running
Running
Commit
·
57e63e5
1
Parent(s):
6797ac6
Update default container user
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
@@ -14,11 +14,11 @@ EXPOSE 7860
|
|
14 |
RUN mkdir -p /data
|
15 |
RUN chmod 777 /data
|
16 |
|
17 |
-
# The Space container runs with user ID 1000
|
18 |
-
|
19 |
-
ENV HOME="/home/
|
20 |
|
21 |
-
USER
|
22 |
|
23 |
-
COPY --chown=
|
24 |
RUN /app/bin/warmup_apps
|
|
|
14 |
RUN mkdir -p /data
|
15 |
RUN chmod 777 /data
|
16 |
|
17 |
+
# The Space container runs with user ID 1000, which corresponds to
|
18 |
+
# ubuntu in the Livebook image.
|
19 |
+
ENV HOME="/home/ubuntu"
|
20 |
|
21 |
+
USER ubuntu
|
22 |
|
23 |
+
COPY --chown=ubuntu public-apps/ /public-apps
|
24 |
RUN /app/bin/warmup_apps
|