privateone commited on
Commit
910104c
·
verified ·
1 Parent(s): 25d4f1e

Rename Dockerfile3 to Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile3 → Dockerfile +5 -4
Dockerfile3 → Dockerfile RENAMED
@@ -56,10 +56,11 @@ RUN useradd -m admin && \
56
  COPY . /app
57
 
58
  # Create necessary directories and set permissions
59
- RUN mkdir -p /var/run/sshd /app /app/users/sshs /app/ssh /home/admin/.ssh && \
60
- chmod -R 777 /app && chmod -R 777 /home/admin/.ssh && \
61
- cp /app/ssh_config /home/admin/.ssh/config
62
- # touch /etc/sudoers
 
63
 
64
  # Grant full sudo access to the 'administrator' group
65
  RUN sed -i 's/Defaults !requiretty/Defaults requiretty/' /etc/sudoers && \
 
56
  COPY . /app
57
 
58
  # Create necessary directories and set permissions
59
+ RUN mkdir -p /var/run/sshd /app /app/users/sshs /app/ssh && \
60
+ chmod -R 777 /app
61
+ # chmod -R 777 /home/admin/.ssh && \
62
+ #cp /app/ssh_config /home/admin/.ssh/config
63
+ #touch /etc/sudoers
64
 
65
  # Grant full sudo access to the 'administrator' group
66
  RUN sed -i 's/Defaults !requiretty/Defaults requiretty/' /etc/sudoers && \