now will this deploy?
All checks were successful
Deploy / deploy (ubuntu-latest, 2.44.0) (push) Successful in 1m12s
All checks were successful
Deploy / deploy (ubuntu-latest, 2.44.0) (push) Successful in 1m12s
Took 1 minute
This commit is contained in:
parent
a7da175499
commit
18b31bcb7b
@ -14,6 +14,7 @@ WORKDIR /usr/src/app
|
|||||||
COPY --from=depends /usr/src/app/node_modules ./node_modules
|
COPY --from=depends /usr/src/app/node_modules ./node_modules
|
||||||
COPY . .
|
COPY . .
|
||||||
ENV NEXT_TELEMETRY_DISABLED 1
|
ENV NEXT_TELEMETRY_DISABLED 1
|
||||||
|
RUN --mount=type=bind,target=/config,from=docs cp /config/config.json ./config.json
|
||||||
RUN bun run build
|
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/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/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/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
|
ENV NODE_ENV production
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user