Nuxt/examples/docker-build
2023-03-16 06:24:27 -07:00
..
assets examples: add docker example (#5430) 2019-04-01 02:36:28 +04:30
components examples: add docker example (#5430) 2019-04-01 02:36:28 +04:30
layouts examples: add docker example (#5430) 2019-04-01 02:36:28 +04:30
middleware examples: add docker example (#5430) 2019-04-01 02:36:28 +04:30
pages examples: add docker example (#5430) 2019-04-01 02:36:28 +04:30
plugins examples: add docker example (#5430) 2019-04-01 02:36:28 +04:30
static examples: add docker example (#5430) 2019-04-01 02:36:28 +04:30
store examples: add docker example (#5430) 2019-04-01 02:36:28 +04:30
.dockerignore refactor: use nuxt everywhere (#8210) 2020-11-30 23:44:04 +01:00
.yarnclean examples: add docker example (#5430) 2019-04-01 02:36:28 +04:30
Dockerfile fix(examples): fix Dockerfile casing (#5705) 2019-05-12 11:03:35 +04:30
nuxt.config.js refactor: use nuxt everywhere (#8210) 2020-11-30 23:44:04 +01:00
package.json chore(examples): use 2.x version of nuxt instead of latest (#19737) 2023-03-16 06:24:27 -07:00
README.md examples: add docker example (#5430) 2019-04-01 02:36:28 +04:30

docker-build

Build Setup

# Build a nuxt-docker image
$ docker build -t nuxt-docker .

# Run the container for the nuxt-docker image with a exposed port 3000
$ docker run --rm -it -p 3000:3000 nuxt-docker