diff --git a/.dockerignore b/.dockerignore index ead7e82..b4c1699 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,7 +1,7 @@ ** !.env -!next.config.js +!next.config.mjs !tailwind.config.js !postcss.config.js !tsconfig.json diff --git a/Dockerfile b/Dockerfile index e2133e2..7bfebc3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ ENV NODE_ENV production RUN addgroup -g 1001 -S nodejs RUN adduser -S nextjs -u 1001 -COPY --from=builder /app/next.config.js ./ +COPY --from=builder /app/next.config.mjs ./ COPY --from=builder /app/postcss.config.js ./ COPY --from=builder /app/tailwind.config.js ./ COPY --from=builder /app/public ./public