Removed server.js and next.config.js from Dockerfile
- no longer used
This commit is contained in:
parent
094e7f99fa
commit
27f3beba2b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue