Spaces:
Running
Running
peterschmidt85
commited on
Commit
·
22e2eaa
1
Parent(s):
0f30979
- Added a username for `1000` UID
Browse files- Dockerfile +4 -8
Dockerfile
CHANGED
@@ -1,10 +1,6 @@
|
|
1 |
FROM dstackai/dstack-stgn:latest
|
2 |
|
3 |
-
RUN
|
4 |
-
|
5 |
-
RUN mkdir -p /.cache
|
6 |
-
|
7 |
-
RUN chmod 777 /.dstack
|
8 |
-
RUN chmod 777 /.config
|
9 |
-
RUN chmod 777 /.cache
|
10 |
-
RUN chmod 777 /.local
|
|
|
1 |
FROM dstackai/dstack-stgn:latest
|
2 |
|
3 |
+
RUN useradd -m -u 1000 user
|
4 |
+
|
5 |
+
RUN mkdir -p /.dstack /.config /.cache /.local \
|
6 |
+
&& chmod 777 /.dstack /.config /.cache /.local
|
|
|
|
|
|
|
|