Sign inSign up

jairoco10/vue

By jairoco10

•Updated about 2 years ago

Base image for Vue.js apps with Node.js and Nginx preconfigured.

Image
Web servers
0

130

jairoco10/vue repository overview

⁠Vue.js Base Image

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.

⁠Features

  • Node.js: For building Vue.js applications.
  • Nginx: For serving the built Vue.js app in production.

⁠How to Use

⁠Dockerfile Example

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 and Run

  1. Build your Docker image:

    docker build -t my-vue-app .
    
  2. Start your services using Docker Compose:

    docker-compose up -d
    

Tag summary

Content type

Image

Digest

sha256:059133ebf…

Size

17.7 MB

Last updated

about 2 years ago

docker pull jairoco10/vue:1.1.alpha