pin
This commit is contained in:
1 parent
3f3e7f71ec
commit
11dcaef3ff
2 files changed
+6
-4
No files matched your search
@@ -62,5 +62,8 @@
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@rollup/rollup-linux-arm64-musl": "4.41.0"
|
||||
},
|
||||
"overrides": {
|
||||
"rollup": "^3.29.4"
|
||||
}
|
||||
}
|
||||
@@ -2,19 +2,18 @@ FROM node:20-slim AS frontend-build
|
||||
|
||||
WORKDIR /app/client
|
||||
|
||||
COPY client/package*.json ./
|
||||
RUN npm ci --omit=optional
|
||||
COPY client/package.json ./
|
||||
RUN npm ci
|
||||
|
||||
COPY client ./
|
||||
RUN npm run build
|
||||
|
||||
|
||||
FROM node:20-slim AS backend
|
||||
|
||||
WORKDIR /app/server
|
||||
|
||||
COPY server/package*.json ./
|
||||
RUN npm ci --omit=optional
|
||||
RUN npm ci
|
||||
|
||||
COPY server ./
|
||||
COPY --from=frontend-build /app/client/dist ./public
|
||||
|
||||
Reference in new issue
Block a user