diff --git a/Dockerfile b/Dockerfile index 2acca42..6e02c89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,5 @@ +# Source : https://github.com/vercel/next.js/blob/canary/examples/with-docker/Dockerfile + FROM node:18-alpine AS base # Install dependencies only when needed @@ -30,7 +32,6 @@ RUN adduser --system --uid 1001 nextjs COPY --from=builder /app/public ./public COPY --from=builder /app/prisma ./prisma -COPY --from=builder /app/next.config.js ./next.config.js # Set the correct permission for prerender cache RUN mkdir .next diff --git a/next.config.js b/next.config.js index 415ac89..05797a6 100644 --- a/next.config.js +++ b/next.config.js @@ -16,7 +16,7 @@ const config = { { hostname: "localhost" }, { hostname: "t3.gstatic.com" }, { hostname: "lh3.googleusercontent.com" }, - { hostname: "mylinks.app" }, + { hostname: "www.mylinks.app" }, ], formats: ["image/webp"], },