move next to web-front
This commit is contained in:
@@ -10,9 +10,9 @@ RUN npm install -g npm@11.6.4 \
|
||||
FROM deps AS build
|
||||
WORKDIR /app
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
COPY next-env.d.ts next.config.ts tsconfig.json vitest.config.ts ./
|
||||
COPY src src
|
||||
COPY public public
|
||||
COPY tsconfig.json vitest.config.ts ./
|
||||
COPY web-front web-front
|
||||
COPY ingestion ingestion
|
||||
RUN npm run ci:quality
|
||||
|
||||
FROM node:22-alpine AS runtime
|
||||
@@ -25,9 +25,9 @@ WORKDIR /app
|
||||
|
||||
RUN addgroup -S nodeapp && adduser -S nodeapp -G nodeapp && mkdir -p /data && chown nodeapp:nodeapp /data
|
||||
|
||||
COPY --from=build /app/.next/standalone ./
|
||||
COPY --from=build /app/.next/static ./.next/static
|
||||
COPY --from=build /app/public ./public
|
||||
COPY --from=build /app/web-front/.next/standalone ./
|
||||
COPY --from=build /app/web-front/.next/static ./.next/static
|
||||
COPY --from=build /app/web-front/public ./public
|
||||
|
||||
USER nodeapp
|
||||
EXPOSE 3000
|
||||
|
||||
Reference in New Issue
Block a user