Modulo makers3d desarrollado con codex V 0.0.1
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
FROM node:22-bookworm-slim AS build
|
||||
WORKDIR /app
|
||||
COPY package.json tsconfig.base.json ./
|
||||
COPY apps/worker/package.json apps/worker/package.json
|
||||
RUN npm install
|
||||
COPY . .
|
||||
RUN npm run build -w @makers3d/worker
|
||||
|
||||
FROM node:22-bookworm-slim
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/package.json ./
|
||||
COPY --from=build /app/node_modules ./node_modules
|
||||
COPY --from=build /app/apps/worker/dist ./apps/worker/dist
|
||||
ENV NODE_ENV=production
|
||||
CMD ["node", "apps/worker/dist/index.js"]
|
||||
|
||||
Reference in New Issue
Block a user