Fixed: default OTP for testing and User roles being reset. #254
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: Docker | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 40 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build container image | |
run: docker build -t test-container-image . | |
- name: Launch container | |
run: docker run -dp 3000:3000 test-container-image | |
timeout-minutes: 5 | |
- run: docker ps | |
- name: Wait for Service to start | |
run: while ! curl -s localhost:3000/health; do sleep 1; done | |
timeout-minutes: 1 | |
- name: Check API health | |
run: curl -s localhost:3000/health |