diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index ee724e6c..8cfca5a8 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -46,7 +46,7 @@ jobs: base64_kv=$(echo "$parsed_vars" | to_envs | base64) echo "base64_env<<$EOF" >> $GITHUB_OUTPUT - echo "base64kv" + echo "$base64kv" echo "$EOF" >> $GITHUB_OUTPUT echo $GITHUB_OUTPUT diff --git a/src/frontend/Dockerfile b/src/frontend/Dockerfile index d51b4741..64a66f3d 100644 --- a/src/frontend/Dockerfile +++ b/src/frontend/Dockerfile @@ -23,9 +23,8 @@ RUN yarn build # Copy static files to minio and generated index.html to volume FROM docker.io/minio/minio:${MINIO_TAG} AS live -ARG B64_ARGS_TO_ENV COPY --from=build /app/dist /tmp/dist -RUN ( echo ${B64_ARGS_TO_ENV} | base64 -d ) > /.env +COPY --from=build /app/.env /.env VOLUME /tmp/frontend_html COPY ./docker-entrypoint.sh /docker-entrypoint.sh ENTRYPOINT [ "/docker-entrypoint.sh" ]