jairoco10/vue
Base image for Vue.js apps with Node.js and Nginx preconfigured.
28
This image provides a pre-configured environment for building and serving Vue.js applications. It includes Node.js for development and Nginx for production deployment.
Create a Dockerfile
in your Vue.js project directory:
version: '3.8'
services:
vue-app:
image: jairoco10/vue:1.1.alpha
container_name: vue-app
ports:
- "80:80"
volumes:
- ./app:/app
environment:
- NODE_ENV=production
Build your Docker image:
docker build -t my-vue-app .
Start your services using Docker Compose:
docker-compose up -d
docker pull jairoco10/vue