Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -18,10 +18,11 @@ RUN chmod 777 /data
|
|
18 |
# The Space container runs with user ID 1000
|
19 |
RUN useradd -m -u 1000 user
|
20 |
ENV HOME="/home/user"
|
|
|
21 |
|
22 |
USER user
|
23 |
|
24 |
-
|
25 |
# TODO: remove this once EXLA v0.8 is out and we infer the default from the environment
|
26 |
# Configure Nx/EXLA to use the GPU (also relevant for warmup_apps below)
|
27 |
ENV XLA_TARGET="cuda120"
|
|
|
18 |
# The Space container runs with user ID 1000
|
19 |
RUN useradd -m -u 1000 user
|
20 |
ENV HOME="/home/user"
|
21 |
+
RUN chown user /public-apps
|
22 |
|
23 |
USER user
|
24 |
|
25 |
+
|
26 |
# TODO: remove this once EXLA v0.8 is out and we infer the default from the environment
|
27 |
# Configure Nx/EXLA to use the GPU (also relevant for warmup_apps below)
|
28 |
ENV XLA_TARGET="cuda120"
|