Fixed docker build for Prisma.

This commit is contained in:
Mike Cao 2024-08-19 15:24:02 -07:00
parent dc9b1dc446
commit 10239fefcd

View File

@ -37,7 +37,7 @@ RUN adduser --system --uid 1001 nextjs
RUN set -x \ RUN set -x \
&& apk add --no-cache curl \ && apk add --no-cache curl \
&& yarn add npm-run-all dotenv prisma semver && yarn add npm-run-all dotenv semver prisma@5.17.0
# You only need to copy next.config.js if you are NOT using the default configuration # You only need to copy next.config.js if you are NOT using the default configuration
COPY --from=builder /app/next.config.js . COPY --from=builder /app/next.config.js .