Skip to content

Commit

Permalink
Update Dockerfile - don't build sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
yanikproulx authored Jan 29, 2024
1 parent a4ea309 commit c524eb8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ COPY package*.json ./
COPY postcss.config.js ./
COPY tailwind.config.js ./
COPY tsconfig.json ./
COPY sentry.client.config.js ./
COPY sentry.server.config.js ./
COPY sentry.properties ./
# COPY sentry.client.config.js ./
# COPY sentry.server.config.js ./
# COPY sentry.properties ./

COPY src ./src
COPY locales ./locales
Expand Down Expand Up @@ -56,10 +56,10 @@ ARG NEXT_PUBLIC_UNITY_PRODUCT_NAME
ENV NEXT_PUBLIC_UNITY_PRODUCT_NAME=${NEXT_PUBLIC_UNITY_PRODUCT_NAME}
ARG NEXT_PUBLIC_UNITY_PRODUCT_VERSION
ENV NEXT_PUBLIC_UNITY_PRODUCT_VERSION=${NEXT_PUBLIC_UNITY_PRODUCT_VERSION}
ARG NEXT_PUBLIC_SENTRY_DSN
ENV NEXT_PUBLIC_SENTRY_DSN=${NEXT_PUBLIC_SENTRY_DSN}
ARG SENTRY_AUTH_TOKEN
ENV SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN}
# ARG NEXT_PUBLIC_SENTRY_DSN
# ENV NEXT_PUBLIC_SENTRY_DSN=${NEXT_PUBLIC_SENTRY_DSN}
# ARG SENTRY_AUTH_TOKEN
# ENV SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN}
ARG NEXT_PUBLIC_UNITY_PUBLIC_MEDIA_URI
ENV NEXT_PUBLIC_UNITY_PUBLIC_MEDIA_URI=${NEXT_PUBLIC_UNITY_PUBLIC_MEDIA_URI}
ARG NEXT_PUBLIC_UNITY_ASSET_BUNDLE_FOLDER
Expand Down Expand Up @@ -95,9 +95,9 @@ COPY --from=build /build/.npmrc ./
COPY --from=build /build/.next ./.next
COPY --from=build /build/next.config.js ./
COPY --from=build /build/public ./public
COPY --from=build /build/sentry.client.config.js ./
COPY --from=build /build/sentry.server.config.js ./
COPY --from=build /build/sentry.properties ./
# COPY --from=build /build/sentry.client.config.js ./
# COPY --from=build /build/sentry.server.config.js ./
# COPY --from=build /build/sentry.properties ./

RUN npm install next

Expand Down

0 comments on commit c524eb8

Please sign in to comment.