mirror of
https://github.com/MAGICGrants/campaign-site.git
synced 2026-01-08 20:08:05 -05:00
fix: sentry source map upload fix attempt
This commit is contained in:
@@ -82,11 +82,11 @@ RUN mkdir /home/nextjs/.npm-global
|
||||
ENV PATH=/home/nextjs/.npm-global/bin:$PATH
|
||||
ENV NPM_CONFIG_PREFIX=/home/nextjs/.npm-global
|
||||
ENV PRISMA_BINARY_TARGETS='["native", "rhel-openssl-1.0.x"]'
|
||||
RUN npm install --quiet --no-progress -g prisma
|
||||
RUN npm install --quiet --no-progress -g prisma @sentry/cli
|
||||
RUN npm cache clean --force
|
||||
|
||||
# server.js is created by next build from the standalone output
|
||||
# https://nextjs.org/docs/pages/api-reference/next-config-js/output
|
||||
CMD ["/bin/sh", "-c", "prisma migrate deploy \
|
||||
&& npm run sentry:sourcemaps \
|
||||
&& node server.js"]
|
||||
&& (npm run sentry:sourcemaps \
|
||||
& node server.js)"]
|
||||
Reference in New Issue
Block a user