mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-10-20 01:53:51 -07:00
dockerize front-end and pass env vars to npm build (#614)
* Revert "dockerize front end (#558)"
This reverts commit 89c23faf7a
.
* dockerize frontend
- adds score server and website docker compose
- creates docker ignore
- adds .env.* for dev, prod and local
- adds dockerfile for website
- adds env to gatsby-config
- adds hostaddress to develop / start script
- adds istructions in README for running docker
- replaces fixed URLS with ones based on env vars
- creates a score server dockerfile
* updates README to change map tiles source
* adds env DATA_SOURCE:development to deploy GHA
* capitalize readme
This commit is contained in:
parent
b3f63c29f6
commit
704831159f
12 changed files with 126 additions and 30 deletions
2
.github/workflows/build_deploy.yml
vendored
2
.github/workflows/build_deploy.yml
vendored
|
@ -46,6 +46,8 @@ jobs:
|
|||
run: npm ci
|
||||
- name: Build
|
||||
run: npm run build --if-present
|
||||
env:
|
||||
DATA_SOURCE: development
|
||||
- name: Get directory contents
|
||||
run: ls -la public
|
||||
- name: Lint
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue