8000 GitHub - megadotnet/vue-app-docker: Steps to dockerize vuejs app
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

megadotnet/vue-app-docker

 
 

Repository files navigation

my-vue-app

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

UnitTests

npm run test:unit

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

[unit test](https://github.com/nidhi-canopas/vue3-component-test-example)

Build docker image:

docker build -t my-vue-app .

Run Docker container

docker run -p 8080:80 my-vue-app

Build and Run with docker-compose

docker-compose up -d

This command will run the container, mapping port 8080 on your host to port 80 in the container. Your Vue.js app should now be accessible at http://localhost:8080.

About

Steps to dockerize vuejs app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 60.5%
  • JavaScript 19.6%
  • Dockerfile 11.9%
  • HTML 6.7%
  • Shell 1.3%
0