Skip to content

Commit

Permalink
Merge pull request #3 from devfolioco/fix-docker-image-builds
Browse files Browse the repository at this point in the history
🚧 Update builders
  • Loading branch information
preetjdp authored Jun 14, 2023
2 parents 8643e5c + 172df9f commit d2ddf6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
tags: |
ghcr.io/devfolioco/siwe-oidc:${{ github.event.release.tag_name }}
ghcr.io/devfolioco/siwe-oidc:latest
Expand Down
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ COPY --from=dep_planner /siwe-oidc/recipe.json recipe.json
RUN cargo chef cook --release --recipe-path recipe.json

FROM node:16-alpine as node_builder

# Reference https://github.com/mhart/alpine-node/issues/27#issuecomment-880663905
RUN apk add --no-cache --virtual .build-deps alpine-sdk python3

ENV FORTMATIC_KEY=""
ENV INFURA_ID=""
ENV PORTIS_ID=""


ADD --chown=node:node ./static /siwe-oidc/static
ADD --chown=node:node ./js/ui /siwe-oidc/js/ui
WORKDIR /siwe-oidc/js/ui
Expand Down

0 comments on commit d2ddf6f

Please sign in to comment.