mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-17 19:25:13 +00:00
13 lines
224 B
Markdown
13 lines
224 B
Markdown
# docker-build
|
|
|
|
## Build Setup
|
|
|
|
```bash
|
|
# 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
|
|
|
|
```
|