Removed server.js and next.config.js from Dockerfile

- no longer used
This commit is contained in:
Hauke Tönjes 2021-06-29 16:05:14 +02:00
parent 094e7f99fa
commit 27f3beba2b
No known key found for this signature in database
GPG Key ID: 0BF2BC96C9FAAE9E
1 changed files with 1 additions and 2 deletions

View File

@ -23,8 +23,7 @@ RUN addgroup -g 1001 -S nodejs
RUN adduser -S nextjs -u 1001
# 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/server.js ./
# COPY --from=builder /app/next.config.js ./
COPY --from=builder /app/public ./public
COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next
COPY --from=builder /app/node_modules ./node_modules