Auto commit: 2025-07-20T04:17:09.384Z
This commit is contained in:
parent
f44868c33a
commit
6a5fd2ec53
@ -5,12 +5,14 @@ COPY frontend/package.json frontend/yarn.lock ./
|
||||
RUN yarn install --pure-lockfile
|
||||
COPY frontend .
|
||||
RUN yarn build
|
||||
RUN yarn export
|
||||
|
||||
|
||||
FROM node:20.15.1-alpine
|
||||
WORKDIR /app
|
||||
COPY backend/package.json backend/yarn.lock ./
|
||||
RUN yarn install --pure-lockfile
|
||||
COPY backend .
|
||||
COPY --from=builder /app/out /app/public
|
||||
|
||||
COPY --from=builder /app/build /app/public
|
||||
CMD ["yarn", "start"]
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -4,6 +4,8 @@
|
||||
"dev": "cross-env PORT=${FRONT_PORT:-3000} next dev --turbopack",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"export": "next export",
|
||||
|
||||
"lint": "next lint",
|
||||
"format": "prettier '{components,pages,src,interfaces,hooks}/**/*.{tsx,ts,js}' --write"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user