Spaces:
Running
Running
seanpedrickcase
commited on
Commit
•
a3c7fb0
1
Parent(s):
d40194c
Adapted Dockerfile to allow write access to api folder
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -22,7 +22,9 @@ RUN chown -R user:user /home/user
|
|
22 |
|
23 |
# Make output folder
|
24 |
RUN mkdir -p /home/user/app/output && chown -R user:user /home/user/app/output && \
|
25 |
-
mkdir -p /home/user/app/output/api && chown -R user:user /home/user/app/output/api
|
|
|
|
|
26 |
|
27 |
# Switch to the "user" user
|
28 |
USER user
|
|
|
22 |
|
23 |
# Make output folder
|
24 |
RUN mkdir -p /home/user/app/output && chown -R user:user /home/user/app/output && \
|
25 |
+
mkdir -p /home/user/app/output/api && chown -R user:user /home/user/app/output/api && \
|
26 |
+
mkdir -p /home/user/app/api && chown -R user:user /home/user/app/api && \
|
27 |
+
chown -R user:user /home/user/app
|
28 |
|
29 |
# Switch to the "user" user
|
30 |
USER user
|