Update Dockerfile to work with Vite (build/ is now dist/) (#99) #85
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request Build | |
on: | |
push: | |
pull_request: | |
jobs: | |
build-api: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build the maproulette-api image for ubuntu-latest | |
run: | | |
cp ./api/application-overrides.template.conf ./api/application-overrides.conf | |
./deploy.sh --api LATEST --buildOnly --dbExternal | |
build-frontend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build the maproulette-frontend image for ubuntu-latest | |
run: | | |
cp ./frontend/env.template.production ./frontend/env.production | |
./deploy.sh --frontend LATEST --buildOnly |