Fix : update docker npm command in package.json

This commit is contained in:
Nathan Tien You
2024-09-18 09:17:11 +00:00
parent cd1f81bffb
commit 745c2c1fda
+4 -4
View File
@@ -2,9 +2,9 @@
"dependencies": {
"reveal-md": "^6.1.2"
},
"scripts":{
"start":"npx reveal-md slides.md -w",
"docker":"sudo docker run --rm -p 1948:1948 -p 35729:35729 -v .:/slides webpronl/reveal-md:latest /slides --watch",
"build":"npm run start -- --static --static-dirs=assets"
"scripts": {
"start": "npx reveal-md slides.md -w",
"docker": "sudo docker run --rm -p 1948:1948 -p 35729:35729 -v ./presentation:/slides webpronl/reveal-md:latest /slides --watch",
"build": "npm run start -- --static --static-dirs=assets"
}
}