Spaces:
Paused
Paused
BinaryONe
commited on
Commit
·
e8446db
1
Parent(s):
888a566
Changes
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -50,7 +50,7 @@ RUN cp /app/sshd_config /etc/ssh/sshd_config # && cat /etc/ssh/sshd_config
|
|
| 50 |
RUN touch /etc/ssh/ssh_known_hosts &&\
|
| 51 |
touch /etc/ssh/known_hosts
|
| 52 |
|
| 53 |
-
RUN chmod -R 777 /etc/ssh/*
|
| 54 |
|
| 55 |
#RUN echo " Public Key $(cat /etc/ssh/ssh_host_rsa_key.pub)" && \
|
| 56 |
# echo " Private Key $(cat /etc/ssh/ssh_host_rsa_key)"
|
|
@@ -138,5 +138,5 @@ RUN echo "* Current User WHO AM I $(whoami)"
|
|
| 138 |
#RUN chmod 777 /app/venv/lib/python3.12/site-packages/known_hosts
|
| 139 |
|
| 140 |
#CMD [ "/usr/sbin/sshd -p 2222 &&","source /app/venv/bin/activate &&","wssh --address='0.0.0.0' --port=7860 --xsrf=False --debug=True --maxconn=4 --policy=autoadd"]
|
| 141 |
-
|
| 142 |
ENTRYPOINT ["/app/init.sh"]
|
|
|
|
| 50 |
RUN touch /etc/ssh/ssh_known_hosts &&\
|
| 51 |
touch /etc/ssh/known_hosts
|
| 52 |
|
| 53 |
+
RUN chmod -R 777 /etc/ssh/* /app/*
|
| 54 |
|
| 55 |
#RUN echo " Public Key $(cat /etc/ssh/ssh_host_rsa_key.pub)" && \
|
| 56 |
# echo " Private Key $(cat /etc/ssh/ssh_host_rsa_key)"
|
|
|
|
| 138 |
#RUN chmod 777 /app/venv/lib/python3.12/site-packages/known_hosts
|
| 139 |
|
| 140 |
#CMD [ "/usr/sbin/sshd -p 2222 &&","source /app/venv/bin/activate &&","wssh --address='0.0.0.0' --port=7860 --xsrf=False --debug=True --maxconn=4 --policy=autoadd"]
|
| 141 |
+
CMD ["/app/start.sh"]
|
| 142 |
ENTRYPOINT ["/app/init.sh"]
|