mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 07:03:25 +00:00
fix: wrong next config remote pattern
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
# Source : https://github.com/vercel/next.js/blob/canary/examples/with-docker/Dockerfile
|
||||||
|
|
||||||
FROM node:18-alpine AS base
|
FROM node:18-alpine AS base
|
||||||
|
|
||||||
# Install dependencies only when needed
|
# 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/public ./public
|
||||||
COPY --from=builder /app/prisma ./prisma
|
COPY --from=builder /app/prisma ./prisma
|
||||||
COPY --from=builder /app/next.config.js ./next.config.js
|
|
||||||
|
|
||||||
# Set the correct permission for prerender cache
|
# Set the correct permission for prerender cache
|
||||||
RUN mkdir .next
|
RUN mkdir .next
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ const config = {
|
|||||||
{ hostname: "localhost" },
|
{ hostname: "localhost" },
|
||||||
{ hostname: "t3.gstatic.com" },
|
{ hostname: "t3.gstatic.com" },
|
||||||
{ hostname: "lh3.googleusercontent.com" },
|
{ hostname: "lh3.googleusercontent.com" },
|
||||||
{ hostname: "mylinks.app" },
|
{ hostname: "www.mylinks.app" },
|
||||||
],
|
],
|
||||||
formats: ["image/webp"],
|
formats: ["image/webp"],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user