Sign inSign up

uralex/vue-nginx

By uralex

•Updated about 5 years ago

Image
0

821

uralex/vue-nginx repository overview

   npx @vue/cli create vue-nginx-docker

   cd vue-nginx-docker

   touch Dockerfile

   echo "node_modules" > .dockerignore

After edit docker file by two stage,run

   docker build -t vue-nginx .

   docker run --rm -it -p 8080:80 vue-nginx

   Navigate to http://localhost:8080, and you should now see our default Vue app!

Tag summary

Content type

Image

Digest

Size

9.6 MB

Last updated

about 5 years ago

docker pull uralex/vue-nginx