Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nischalstha9 committed Aug 21, 2024
1 parent e3e2bad commit 5a9b3ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions src/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]

0 comments on commit 5a9b3ab

Please sign in to comment.