nuxt docker image include basic template project
# run at port 3000
PORT=3000
docker run --rm -it -p ${PORT}:3000 ynishi/nuxt-docker
# access
curl localhost:${PORT}
docker run --rm -it -v $(pwd):/project ynishi/nuxt-docker vue init ${template} ${appname}
# appname dir will be created in current dir.
FROM ynishi/nuxt-docker
COPY . /project
RUN yarn
cd ${appdir}
docker build -t ${imagename} .
docker run --rm -it -p ${port}:3000 -e "HOST=0.0.0.0" ${imagename}
Content type
Image
Digest
Size
465.6 MB
Last updated
about 8 years ago
docker pull ynishi/nuxt-docker