diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dfe36da..cef5a34 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/Dockerfile b/Dockerfile index bb53479..5b25d9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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