Temporary fix for Docker (#29)

Populate env vars with dummy values until a better solution is found. It will probably require to move away from serving the frontend as simply static files.
This commit is contained in:
Simon Bihel 2022-06-01 10:54:50 +01:00 committed by GitHub
parent 49ba3be44a
commit 6cb6dfbedb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,9 @@ 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
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