Upgraded react. Fixed docker build.
Some checks failed
Node.js CI / build (mysql, 18.18) (push) Has been cancelled
Node.js CI / build (postgresql, 18.18) (push) Has been cancelled

This commit is contained in:
Mike Cao 2025-12-06 17:04:40 -08:00
parent 5c324fc0e5
commit 4cab4e928a
5 changed files with 169 additions and 172 deletions

View file

@ -12,6 +12,7 @@ FROM node:22-alpine AS builder
WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules
COPY . .
COPY docker/middleware.ts ./src
ARG DATABASE_TYPE
ARG BASE_PATH
@ -55,9 +56,6 @@ COPY --from=builder /app/scripts ./scripts
COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./
COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static
# Custom routes
RUN mv ./.next/routes-manifest.json ./.next/routes-manifest-orig.json
USER nextjs
EXPOSE 3000