primefaces / sakai-vue-cli

Free Vue Admin Template by PrimeVue
https://www.primefaces.org/sakai-vue
MIT License
454 stars 204 forks source link

add basic Dockerfile #11

Open jose-carmona opened 3 years ago

jose-carmona commented 3 years ago

This PR add to the project the ability to run under docker: no software is necessary to install previously (except docker obviously).

Notes

Build sigma docker image:

docker build -t primevue/sigma . 

Run sigma docker image:

docker run -it -p 8080:8080 --rm --name sigma primevue/sigma

then navigate to http://localhost:8080/

If you want to develop with the project under docker you can mount the project to the docker image and run it in dev mode using the dev.sh script as entrypoint. You can run sigma docker image in dev mode with:

docker run -it -p 8080:8080 -v $PWD:/app --rm --entrypoint="/dev.sh" --name sigma primevue/sigma