Allow docker image to work off of environment variables instead of hardcoded on build

This commit is contained in:
dragongoose
2023-04-26 10:31:07 -04:00
parent 4f03d41b0a
commit c1b214b0c9
4 changed files with 32 additions and 17 deletions

View File

@ -4,9 +4,10 @@ services:
build:
context: "../"
dockerfile: ./docker/Dockerfile
args :
- VITE_BACKEND_DOMAIN=localhost:7000
- VITE_INSTANCE_DOMAIN=localhost:80
- VITE_HTTPS=false
ports:
- "8080:80"
- "8080:80"
environment:
- VITE_BACKEND_DOMAIN=localhost:7000
- VITE_INSTANCE_DOMAIN=localhost:80
- VITE_HTTPS=false