Remove unnecessary Dockerfile steps
This commit is contained in:
@@ -42,10 +42,7 @@ RUN set -x \
|
|||||||
&& apk add --no-cache curl \
|
&& apk add --no-cache curl \
|
||||||
&& yarn add npm-run-all dotenv semver prisma@6.1.0
|
&& yarn add npm-run-all dotenv semver prisma@6.1.0
|
||||||
|
|
||||||
# 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 --chown=nextjs:nodejs /app/public ./public
|
COPY --from=builder --chown=nextjs:nodejs /app/public ./public
|
||||||
COPY --from=builder /app/package.json ./package.json
|
|
||||||
COPY --from=builder /app/prisma ./prisma
|
COPY --from=builder /app/prisma ./prisma
|
||||||
COPY --from=builder /app/scripts ./scripts
|
COPY --from=builder /app/scripts ./scripts
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user