File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ docker pull shreyasnayak21/nodejs-faas:1.2.0
2525To run the Docker container:
2626
2727``` sh
28- docker run -d -p 9256:9256 shreyasnayak21/nodejs-faas:1.2.0 --env JWT_KEY=QX2A0p84VmmLF3NYz3uHPx1hLuhT2U2K
28+ docker run -d -p 9256:9256 -e JWT_KEY=1X2A0p84VmmLF3NYz3uHPx1hLuhT2U24 -v functions:/opt/app/functions shreyasnayak21/nodejs-faas:1.2.0
2929```
3030
3131### Using Containerd
@@ -39,7 +39,7 @@ nerdctl pull shreyasnayak21/nodejs-faas:1.2.0
3939To run the container with Containerd:
4040
4141``` sh
42- nerdctl run -d -p 9256:9256 shreyasnayak21/nodejs-faas:1.2.0 --env JWT_KEY=QX2A0p84VmmLF3NYz3uHPx1hLuhT2U2K
42+ nerdctl run -d -p 9256:9256 -e JWT_KEY=1X2A0p84VmmLF3NYz3uHPx1hLuhT2U24 -v functions:/opt/app/functions shreyasnayak21/nodejs-faas:1.2.0
4343```
4444
4545### Using ` pm2 `
You can’t perform that action at this time.
0 commit comments