Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -14,7 +14,7 @@ COPY ssh-config/sshd_config /etc/ssh/sshd_config
|
|
| 14 |
RUN chmod 600 /etc/ssh/sshd_config
|
| 15 |
|
| 16 |
# Set user to root (important!)
|
| 17 |
-
|
| 18 |
|
| 19 |
|
| 20 |
|
|
@@ -25,6 +25,8 @@ COPY . /app
|
|
| 25 |
RUN chmod +x /app/entrypoint.sh
|
| 26 |
RUN chmod -R 777 /app
|
| 27 |
|
|
|
|
|
|
|
| 28 |
EXPOSE 22 1080
|
| 29 |
|
| 30 |
ENTRYPOINT ["/app/entrypoint.sh"]
|
|
|
|
| 14 |
RUN chmod 600 /etc/ssh/sshd_config
|
| 15 |
|
| 16 |
# Set user to root (important!)
|
| 17 |
+
|
| 18 |
|
| 19 |
|
| 20 |
|
|
|
|
| 25 |
RUN chmod +x /app/entrypoint.sh
|
| 26 |
RUN chmod -R 777 /app
|
| 27 |
|
| 28 |
+
|
| 29 |
+
USER root
|
| 30 |
EXPOSE 22 1080
|
| 31 |
|
| 32 |
ENTRYPOINT ["/app/entrypoint.sh"]
|