Auto commit: 2025-07-20T04:17:09.384Z

This commit is contained in:
Flatlogic Bot 2025-07-20 04:17:09 +00:00
parent f44868c33a
commit 6a5fd2ec53
3 changed files with 6 additions and 2 deletions

View File

@ -5,12 +5,14 @@ COPY frontend/package.json frontend/yarn.lock ./
RUN yarn install --pure-lockfile RUN yarn install --pure-lockfile
COPY frontend . COPY frontend .
RUN yarn build RUN yarn build
RUN yarn export
FROM node:20.15.1-alpine FROM node:20.15.1-alpine
WORKDIR /app WORKDIR /app
COPY backend/package.json backend/yarn.lock ./ COPY backend/package.json backend/yarn.lock ./
RUN yarn install --pure-lockfile RUN yarn install --pure-lockfile
COPY backend . COPY --from=builder /app/out /app/public
COPY --from=builder /app/build /app/public COPY --from=builder /app/build /app/public
CMD ["yarn", "start"] CMD ["yarn", "start"]

File diff suppressed because one or more lines are too long

View File

@ -4,6 +4,8 @@
"dev": "cross-env PORT=${FRONT_PORT:-3000} next dev --turbopack", "dev": "cross-env PORT=${FRONT_PORT:-3000} next dev --turbopack",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"export": "next export",
"lint": "next lint", "lint": "next lint",
"format": "prettier '{components,pages,src,interfaces,hooks}/**/*.{tsx,ts,js}' --write" "format": "prettier '{components,pages,src,interfaces,hooks}/**/*.{tsx,ts,js}' --write"
}, },