fix publish?
Some checks failed
Deploy / deploy (ubuntu-latest, 2.44.0) (push) Has been cancelled
Publish Image / deploy (ubuntu-latest, 2.44.0) (push) Failing after 1m50s

Took 3 minutes
This commit is contained in:
Braydon 2024-10-09 22:34:50 -04:00
parent ffbf485774
commit a0b786ae68

View File

@ -14,7 +14,6 @@ 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
@ -33,7 +32,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.example ./config.json
#COPY --from=builder --chown=nextjs:nextjs /usr/src/app/docs ./docs
ENV NODE_ENV production