Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 587 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 587 Bytes

Getting started

npm i
npm start

Deploy

Don't forget to add to version.html what you've done.

Create a .env.prod file and set your vars like:

VITE_BASE_URL=/path/to/your/app
VITE_API_URL=your.backend.com/apps/health

For some reason, env.prod has to be in src directory and at the root of the project. Start by building and pushing:

docker compose build
docker compose push

Set the DOCKER_HOST environment variable and launch the build/run :

$env:DOCKER_HOST="<PATH_TO_REMOTE_HOST>"
docker compose up -d --build