fix publish?
Took 3 minutes
This commit is contained in:
parent
a0b786ae68
commit
72e624dfd1
@ -12,6 +12,7 @@ RUN bun install --frozen-lockfile --quiet
|
||||
FROM base AS builder
|
||||
WORKDIR /usr/src/app
|
||||
COPY --from=depends /usr/src/app/node_modules ./node_modules
|
||||
COPY --from=depends /usr/src/app/config.json.example ./config.json
|
||||
COPY . .
|
||||
ENV NEXT_TELEMETRY_DISABLED 1
|
||||
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.example ./config.json
|
||||
COPY --from=builder --chown=nextjs:nextjs /usr/src/app/config.json ./config.json
|
||||
#COPY --from=builder --chown=nextjs:nextjs /usr/src/app/docs ./docs
|
||||
|
||||
ENV NODE_ENV production
|
||||
|
Loading…
x
Reference in New Issue
Block a user