diff --git a/docker/frontend/Dockerfile b/docker/frontend/Dockerfile index 784cb9783..34668f51a 100644 --- a/docker/frontend/Dockerfile +++ b/docker/frontend/Dockerfile @@ -63,26 +63,26 @@ ARG WEB3_STORAGE_PROOF # ARGs are not available at runtime, so define ENV variables # These ENVs should match the --set-env-vars in `.github/workflows/gcp-deploy.yaml` # see https://www.saltycrane.com/blog/2021/04/buildtime-vs-runtime-environment-variables-nextjs-docker/ -ENV NEXT_PUBLIC_APP_ENV $APP_ENV -ENV NEXT_PUBLIC_GRAPHQL_URL $GRAPHQL_URL -ENV NEXT_PUBLIC_FRONTEND_URL $FRONTEND_URL -ENV NEXT_PUBLIC_IMGIX_TOKEN $IMGIX_TOKEN -ENV NEXT_PUBLIC_YOUTUBE_API_KEY $YOUTUBE_API_KEY -ENV NEXT_PUBLIC_HONEYBADGER_API_KEY $HONEYBADGER_API_KEY -ENV NEXT_PUBLIC_GOOGLE_ANALYTICS_ID $GOOGLE_ANALYTICS_ID -ENV NEXT_PUBLIC_USERBACK_TOKEN $USERBACK_TOKEN -ENV NEXT_PUBLIC_CERAMIC_URL $CERAMIC_URL -ENV NEXT_PUBLIC_GCAL_CALENDAR_ID $GCAL_CALENDAR_ID -ENV NEXT_PUBLIC_ALCHEMY_API_KEY $ALCHEMY_API_KEY -ENV NEXT_PUBLIC_WEB3_STORAGE_DID $WEB3_STORAGE_DID -ENV NEXT_PUBLIC_WEB3_STORAGE_KEY $WEB3_STORAGE_KEY -ENV NEXT_PUBLIC_WEB3_STORAGE_PROOF $WEB3_STORAGE_PROOF +ENV NEXT_PUBLIC_APP_EN=$APP_ENV +ENV NEXT_PUBLIC_GRAPHQL_URL=$GRAPHQL_URL +ENV NEXT_PUBLIC_FRONTEND_URL=$FRONTEND_URL +ENV NEXT_PUBLIC_IMGIX_TOKEN=$IMGIX_TOKEN +ENV NEXT_PUBLIC_YOUTUBE_API_KEY=$YOUTUBE_API_KEY +ENV NEXT_PUBLIC_HONEYBADGER_API_KEY=$HONEYBADGER_API_KEY +ENV NEXT_PUBLIC_GOOGLE_ANALYTICS_ID=$GOOGLE_ANALYTICS_ID +ENV NEXT_PUBLIC_USERBACK_TOKEN=$USERBACK_TOKEN +ENV NEXT_PUBLIC_CERAMIC_URL=$CERAMIC_URL +ENV NEXT_PUBLIC_GCAL_CALENDAR_ID=$GCAL_CALENDAR_ID +ENV NEXT_PUBLIC_ALCHEMY_API_KEY=$ALCHEMY_API_KEY +ENV NEXT_PUBLIC_WEB3_STORAGE_DID=$WEB3_STORAGE_DID +ENV NEXT_PUBLIC_WEB3_STORAGE_KEY=$WEB3_STORAGE_KEY +ENV NEXT_PUBLIC_WEB3_STORAGE_PROOF=$WEB3_STORAGE_PROOF # These are not exposed to the browser -ENV WEB3_STORAGE_TOKEN $WEB3_STORAGE_TOKEN -ENV OPENSEA_API_KEY $OPENSEA_API_KEY -ENV GCAL_PRIVATE_KEY $GCAL_PRIVATE_KEY -ENV GCAL_CLIENT_EMAIL $GCAL_CLIENT_EMAIL -ENV GCAL_PROJECT_NUMBER $GCAL_PROJECT_NUMBER +ENV WEB3_STORAGE_TOKEN=$WEB3_STORAGE_TOKEN +ENV OPENSEA_API_KEY=$OPENSEA_API_KEY +ENV GCAL_PRIVATE_KEY=$GCAL_PRIVATE_KEY +ENV GCAL_CLIENT_EMAIL=$GCAL_CLIENT_EMAIL +ENV GCAL_PROJECT_NUMBER=$GCAL_PROJECT_NUMBER ONBUILD RUN yarn web:build # Delete devDependencies