Dropping some unused copies from the website dockerfile

This commit is contained in:
Keith Stevens
2022-12-20 20:30:49 +09:00
parent c056a31d2f
commit 98fe656f7d
-5
View File
@@ -39,11 +39,6 @@ RUN adduser --system --uid 1001 nextjs
COPY --from=builder /app/public ./public
# Copy over the schema file so we can do a db push on startup.
# TODO: Delete when used for real production.
COPY ./website/prisma/schema.prisma ./
COPY ./website/wait-for-it.sh ./
# Automatically leverage output traces to reduce image size
# https://nextjs.org/docs/advanced-features/output-file-tracing
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./