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!
Content type
Image
Digest
Size
9.6 MB
Last updated
about 5 years ago
docker pull uralex/vue-nginx