Skip to content

Commit ee95720

Browse files
committed
Update README.md
1 parent f5bbd85 commit ee95720

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ add the below code snippets in "docker-compose.yml" file.
3131
working_dir: /home/node
3232
volumes:
3333
- type: bind
34-
source: ./node/app
35-
target: /home/node/app
34+
source: ./node
35+
target: /home/node
3636
- 'html:${WEBSERVER_DOC_ROOT}'
3737
hostname: node
3838
restart: unless-stopped
@@ -43,7 +43,7 @@ add the below code snippets in "docker-compose.yml" file.
4343
TZ: '${LOCAL_TIMEZONE}'
4444
labels:
4545
- 'docker-volume-backup.stop-during-backup=true'
46-
command: bash -c 'apt-get update && apt-get upgrade -y && apt-get install -y openssh-server && service ssh start && npm init -y && tail -f /dev/null'
46+
command: bash -c "apt-get update && apt-get upgrade -y && apt-get install -y openssh-server && sed -ri 's/^UsePAM yes/UsePAM no/' /etc/ssh/sshd_config && echo $'Port 3000\\nPermitEmptyPasswords yes\\nPermitRootLogin yes' > /etc/ssh/sshd_config.d/image.conf && service ssh start && passwd -d root && npm install && tail -f /dev/null"
4747
```
4848

4949
and

0 commit comments

Comments
 (0)