Sign inSign up

dockterdapper/nuxt-node10

By dockterdapper

Updated about 8 years ago

Build for nuxt node 10

Image
0

836

dockterdapper/nuxt-node10 repository overview

nuxt-node10

pull badge

The lightest nuxt image out there. (Now with node 10!)

Usage

Add the following to your Dockerfile in your nuxt project:

FROM dockterdapper/nuxt

Customize before build

If you need to customize your project before the nuxt build you can use --build-arg autobuild=no. Dont forget to call nuxt build yourself:

FROM dockterdapper/nuxt

# replace something in nuxt.config.js
RUN sed -i -e 's/apiserver\.dev/apiserver.production/g' nuxt.config.js

RUN ./node_modules/.bin/nuxt build

and run docker build . --build-arg autobuild=no -t your_image_name

License

MIT

Tag summary

Content type

Image

Digest

Size

23.8 MB

Last updated

about 8 years ago

docker pull dockterdapper/nuxt-node10