Spaces:
Paused
Paused
BinaryONe
commited on
Commit
·
7163fa2
1
Parent(s):
19a162c
Changes
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -97,5 +97,6 @@ EXPOSE 7860 2222
|
|
| 97 |
# Change ownership of /home/admin directory
|
| 98 |
#RUN chown -R admin:admin /home/admin
|
| 99 |
RUN chmod -R 777 /app/* /home/*
|
|
|
|
| 100 |
# Default command to keep the container running
|
| 101 |
-
CMD
|
|
|
|
| 97 |
# Change ownership of /home/admin directory
|
| 98 |
#RUN chown -R admin:admin /home/admin
|
| 99 |
RUN chmod -R 777 /app/* /home/*
|
| 100 |
+
|
| 101 |
# Default command to keep the container running
|
| 102 |
+
CMD /bin/bash -c "/usr/sbin/sshd -p 2222 && /app/start.sh"
|