From 18b31bcb7baa1320f725d7e7afd45d9a0bd7b966 Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Wed, 9 Oct 2024 17:02:31 -0400 Subject: [PATCH] now will this deploy? Took 1 minute --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3377648..3e58952 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,7 @@ WORKDIR /usr/src/app COPY --from=depends /usr/src/app/node_modules ./node_modules COPY . . ENV NEXT_TELEMETRY_DISABLED 1 +RUN --mount=type=bind,target=/config,from=docs cp /config/config.json ./config.json RUN bun run build @@ -32,7 +33,7 @@ COPY --from=builder --chown=nextjs:nextjs /usr/src/app/.next ./.next COPY --from=builder --chown=nextjs:nextjs /usr/src/app/public ./public COPY --from=builder --chown=nextjs:nextjs /usr/src/app/next.config.mjs ./next.config.mjs COPY --from=builder --chown=nextjs:nextjs /usr/src/app/package.json ./package.json -#COPY --from=builder --chown=nextjs:nextjs /usr/src/app/config.json ./config.json +COPY --from=builder --chown=nextjs:nextjs /usr/src/app/config.json ./config.json ENV NODE_ENV production