Skip to content

Commit

Permalink
Fix Docker build and add build to the development CI to test it befor…
Browse files Browse the repository at this point in the history
…e merging
  • Loading branch information
thesocialdev committed Oct 2, 2023
1 parent 148c3f6 commit 469c1fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,8 @@ jobs:
wait-on: 'http://localhost:3000'
env:
CI: true
- name: Test docker image build before merge
run: |
docker build --build-arg ENVIRONMENT=development \
--build-arg NEXT_PUBLIC_UMAMI_SITE_ID=$NEXT_PUBLIC_UMAMI_SITE_ID \
--build-arg NEXT_PUBLIC_RECAPTCHA_SITEKEY=${{ secrets.NEXT_PUBLIC_RECAPTCHA_SITEKEY }}
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ COPY ./scripts /app/scripts
COPY ./tsconfig.json /app/tsconfig.json
COPY ./server /app/server
COPY ./src /app/src
COPY ./lib /app/lib
COPY ./public /app/public
COPY ./next-i18next.config.js /app/next-i18next.config.js

Expand Down

0 comments on commit 469c1fa

Please sign in to comment.