A project to discover what can be don with nuxt.js
https://nuxt.antoinebrossault.com
# install dependencies
$ npm install # Or yarn install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm start
# generate static project
$ npm run generate
For detailed explanation on how things work, checkout the Nuxt.js docs.
in the package.json
"scripts": {
"start": "HOST=0.0.0.0 PORT=80 nuxt start",
},
Specify HOST=0.0.0.0 PORT=80
Build the image
docker build -t antoine/nuxt . --force-rm
Run the production mode
docker-compose up d
If issues when docker-compose up
docker-compose rm --all
NB : This will only afect the "internal" docker-compose