Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile - don't build sentry #107

Merged
merged 1 commit into from
Jan 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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