Skip to content

Commit 0c2f227

Browse files
committed
Update comment
1 parent bee880c commit 0c2f227

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

node.dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
# docker network create --driver bridge isolated_network
66
# docker run -d --net=isolated_network --name mongodb mongo
7-
# docker run -d --net=isolated_network --name nodeapp -p 3000:3000 danwahlin/nodeapp
7+
8+
# NOTE: $(pwd) in the following line is for Mac and Linux. See https://blog.codewithdan.com/docker-volumes-and-print-working-directory-pwd/ for Windows examples.
9+
# docker run -d --net=isolated_network --name nodeapp -p 3000:3000 -v $(pwd)/logs:/var/www/logs danwahlin/nodeapp
810

911
# Seed the database with sample database
1012
# Run: docker exec nodeapp node dbSeeder.js

0 commit comments

Comments
 (0)