Skip to content

Commit 99bfb96

Browse files
committed
Couple tweaks to the dockerfile
1 parent ce9f8e3 commit 99bfb96

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docker/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store pnpx prisma@
4242

4343
## Builder (builds the webapp)
4444
FROM base AS builder
45+
# This is needed for the sentry-cli binary while building the webapp
4546
RUN apt-get update && apt-get install -y openssl dumb-init ca-certificates
4647
WORKDIR /triggerdotdev
4748
# Corepack is used to install pnpm
@@ -50,11 +51,9 @@ RUN corepack enable
5051
ARG SENTRY_RELEASE
5152
ARG SENTRY_ORG
5253
ARG SENTRY_PROJECT
53-
# Remove SENTRY_AUTH_TOKEN from build args since we'll use secrets
5454
ENV SENTRY_RELEASE=${SENTRY_RELEASE} \
5555
SENTRY_ORG=${SENTRY_ORG} \
5656
SENTRY_PROJECT=${SENTRY_PROJECT}
57-
# Remove SENTRY_AUTH_TOKEN from env vars since it will be mounted as secret
5857

5958
# Goose and schemas
6059
COPY --from=goose_builder /go/bin/goose /usr/local/bin/goose

0 commit comments

Comments
 (0)