accplan commited on
Commit
6bf438b
1 Parent(s): 0f6613b
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. README.md +0 -1
Dockerfile CHANGED
@@ -13,10 +13,10 @@ RUN mkdir $HOME/app
13
 
14
  WORKDIR $HOME/app
15
 
16
- EXPOSE 2222
17
 
18
  USER root
19
 
20
  CMD ssh-keygen -t ed25519 -f $HOME/.ssh/id_ed25519 && \
21
- /usr/sbin/sshd -h $HOME/.ssh/id_ed25519 -p 2222 -D -e "$@"
22
  # -D
 
13
 
14
  WORKDIR $HOME/app
15
 
16
+ EXPOSE 7860
17
 
18
  USER root
19
 
20
  CMD ssh-keygen -t ed25519 -f $HOME/.ssh/id_ed25519 && \
21
+ /usr/sbin/sshd -h $HOME/.ssh/id_ed25519 -p 7860 -D -e "$@"
22
  # -D
README.md CHANGED
@@ -4,6 +4,5 @@ emoji: 💻
4
  colorFrom: green
5
  colorTo: pink
6
  sdk: docker
7
- port: 2222
8
  pinned: false
9
  ---
 
4
  colorFrom: green
5
  colorTo: pink
6
  sdk: docker
 
7
  pinned: false
8
  ---