Spaces:
Paused
Paused
BinaryONe
commited on
Commit
·
98930dc
1
Parent(s):
db49676
Changes
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -92,11 +92,13 @@ RUN python3 -m venv /app/WebSSHEnv && \
|
|
| 92 |
EXPOSE 7860 2222
|
| 93 |
|
| 94 |
# Switch to 'admin' user and set working directory
|
| 95 |
-
|
| 96 |
|
| 97 |
#WORKDIR /home/admin
|
| 98 |
# Change ownership of /home/admin directory
|
| 99 |
#RUN chown -R admin:admin /home/admin
|
|
|
|
|
|
|
| 100 |
RUN chmod -R 777 /app/* /home/*
|
| 101 |
|
| 102 |
# Default command to keep the container running
|
|
|
|
| 92 |
EXPOSE 7860 2222
|
| 93 |
|
| 94 |
# Switch to 'admin' user and set working directory
|
| 95 |
+
|
| 96 |
|
| 97 |
#WORKDIR /home/admin
|
| 98 |
# Change ownership of /home/admin directory
|
| 99 |
#RUN chown -R admin:admin /home/admin
|
| 100 |
+
|
| 101 |
+
USER admin
|
| 102 |
RUN chmod -R 777 /app/* /home/*
|
| 103 |
|
| 104 |
# Default command to keep the container running
|