Skip to content

Commit

Permalink
Add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Nov 22, 2023
1 parent 51a96c5 commit c5cf342
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions infra/docker/DockerfileBuildApp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ RUN npx pkg ./node_modules/@import-meta-env/cli/bin/import-meta-env.js \
--target node18-alpine-x64 \
--output import-meta-env

RUN file import-meta-env
RUN file .env.example

######################
# Upload sourcemaps #
######################
Expand All @@ -65,6 +68,8 @@ RUN mkdir -p /tmp/frontend/build
COPY --from=buildFront /tmp/frontend/build /tmp/frontend/build
COPY --from=buildFront /tmp/frontend/.env.example /tmp/.env.example
COPY --from=buildFront /tmp/frontend/import-meta-env /tmp/import-meta-env
RUN file /tmp/import-meta-env
RUN echo /tmp/.env.example

# Upload sourcemaps to sentry
RUN sentry-cli sourcemaps inject /tmp/frontend
Expand Down

0 comments on commit c5cf342

Please sign in to comment.