This project show how to deploy a webapp using docker and nginx.
This monorepo contains the following modules:
- api: node.js express API - Dockerfile
- web: vuejs web app - Dockerfile
Nginx config seves static web and redirect /api
calls to the api module
The first time run the script
./api/scripts/init-env.js
Launch with docker compose
docker-compose up