From 80fdf4332fece258956dc4a1e95f677ea4aaf7f2 Mon Sep 17 00:00:00 2001 From: tobias Date: Sun, 16 Jun 2024 20:49:02 +0200 Subject: [PATCH] Fix static assets dir --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 21c1845..c9f5b74 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN corepack enable WORKDIR /builder COPY package.json pnpm-lock.yaml ./ -RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile +RUN pnpm install --frozen-lockfile ENV NODE_ENV=production @@ -28,8 +28,8 @@ RUN corepack enable COPY --from=builder /builder/package.json ./ #COPY --from=builder /builder/node_modules ./node_modules COPY --from=builder /builder/.next/standalone ./.next/standalone/ -COPY --from=builder /builder/.next/static ./.next/static -COPY --from=builder /builder/public ./public +COPY --from=builder /builder/.next/static ./.next/standalone/.next/static +COPY --from=builder /builder/public ./.next/standalone/.next/public COPY --from=builder /builder/next.config.mjs ./ FROM runner as server