Skip to content

Commit

Permalink
update dockerfile syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtsam committed Feb 1, 2025
1 parent 0fedc44 commit 723dda8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ RUN pnpm prune --prod
FROM deps AS build

ARG COMMIT_SHA
ENV COMMIT_SHA $COMMIT_SHA
ENV COMMIT_SHA=$COMMIT_SHA

COPY . .

# Sentry monitoring
ARG SENTRY_ORG
ARG SENTRY_PROJECT
ENV SENTRY_ORG $SENTRY_ORG
ENV SENTRY_PROJECT $SENTRY_PROJECT
ENV SENTRY_ORG=$SENTRY_ORG
ENV SENTRY_PROJECT=$SENTRY_PROJECT
# Secured way to expose secret to the build
# https://docs.docker.com/build/building/secrets/
RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \
Expand All @@ -39,8 +39,8 @@ RUN --mount=type=secret,id=SENTRY_AUTH_TOKEN \

FROM base

ENV NODE_ENV production
ENV PORT 3000
ENV NODE_ENV=production
ENV PORT=3000
EXPOSE 3000

WORKDIR /app
Expand Down

0 comments on commit 723dda8

Please sign in to comment.