cambiado nombre del directorio
All checks were successful
build-and-deploy / filter (push) Successful in 2s
build-and-deploy / build (push) Successful in 6s
build-and-deploy / deploy (push) Successful in 25s

This commit is contained in:
2025-06-05 15:41:32 -06:00
parent 950404dd85
commit 2dd8ac6d5c
6 changed files with 0 additions and 0 deletions

17
agent/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
# ---------- Build stage ----------
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# ---------- Production stage ----------
FROM node:20-alpine
WORKDIR /app
COPY --from=builder /app/dist ./dist
COPY package*.json ./
RUN npm install --production
ENV PORT=8001
EXPOSE 8001
CMD ["node", "dist/index.js"]