Spaces:
Running
Running
tomas-gajarsky
commited on
Commit
•
364060d
1
Parent(s):
3a2f1d8
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -2,7 +2,8 @@ FROM python:3.9.12-slim
|
|
2 |
|
3 |
RUN useradd -ms /bin/bash admin
|
4 |
|
5 |
-
WORKDIR
|
|
|
6 |
RUN chown -R admin:admin $WORKDIR
|
7 |
RUN chmod 755 $WORKDIR
|
8 |
|
|
|
2 |
|
3 |
RUN useradd -ms /bin/bash admin
|
4 |
|
5 |
+
ENV WORKDIR=/code
|
6 |
+
WORKDIR $WORKDIR
|
7 |
RUN chown -R admin:admin $WORKDIR
|
8 |
RUN chmod 755 $WORKDIR
|
9 |
|