Skip to content

chwzr/vapid-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Image CI

VAPID DEV

You dont need NodeJs on your system! Vapid development in Docker Container!

  1. Create a empty Directory and cd to it.
mkdir /path/to/project
cd /path/to/project
  1. Create a Docker volume and bind it to that directory:
docker volume create --opt type=none --opt o=bind --name vapid --opt device="$(pwd)"
  1. Start vapid-dev container and have fun!
docker run --rm -it -v vapid:/opt/app-root/src/vapid -p 3000:3000 --name vapid vapid
  1. To build a Production Container serving a static build of your vapid app run following command in your project dir:
docker build -t vapid-prod .
  1. The production Container is ready to be used in Kubernetes or even on a single Docker-CE host. To make a test run, execute this and open http://localhost:8080
docker run --rm -it -p 8080:80 vapid-prod

About

A Vapid Development Docker Container. Ready to build a Production Container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors