diff --git a/.github/workflows/docker-ci.yml b/.github/workflows/docker-ci.yml new file mode 100644 index 00000000..de8a7433 --- /dev/null +++ b/.github/workflows/docker-ci.yml @@ -0,0 +1,17 @@ +name: Docker Check + +on: + push: + paths: + - '**Dockerfile' + pull_request: + paths: + - '**Dockerfile' +jobs: + build-image-1: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Build Docker Image + run: docker build -f apps/** . diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile index 4fa65827..5d41ebf3 100644 --- a/apps/web/Dockerfile +++ b/apps/web/Dockerfile @@ -28,6 +28,7 @@ COPY --from=builder /app/out/full/ . COPY turbo.json turbo.json + RUN pnpm turbo build --filter=web... FROM base AS runner