Skip to content

Commit

Permalink
fix: dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-van-woerkens committed Feb 14, 2024
1 parent 598b180 commit 5b1a93e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ ENV NEXT_TELEMETRY_DISABLED 1
ARG NEXT_PUBLIC_HASURA_URL
ENV NEXT_PUBLIC_HASURA_URL $NEXT_PUBLIC_HASURA_URL

# RUN --mount=type=secret,id=sentry_auth_token export SENTRY_AUTH_TOKEN="$(cat /run/secrets/sentry_auth_token)"; yarn build
RUN yarn build
RUN --mount=type=secret,id=sentry_auth_token export SENTRY_AUTH_TOKEN="$(cat /run/secrets/sentry_auth_token)"; yarn build

RUN yarn workspaces focus --production

Expand Down Expand Up @@ -54,6 +53,4 @@ USER 1001
EXPOSE 3000
ENV PORT 3000

RUN ls -lah && ls -lah .next && exit 1

CMD ["node", "server.js"]

0 comments on commit 5b1a93e

Please sign in to comment.