Skip to content

eggplanetio/docker-nuxt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pull badge

The lightest nuxt image out there.

Usage

Add the following to your Dockerfile in your nuxt project:

FROM eggplanet/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 eggplanet/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

About

The lightest nuxt image out there.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published