fixeando
All checks were successful
build-and-push / build (push) Successful in 20s
build-and-push / deploy (push) Successful in 15s

This commit is contained in:
2025-05-14 18:25:15 -06:00
parent 6efef92dda
commit 6a1379137f
2 changed files with 14 additions and 2 deletions

View File

@@ -1,8 +1,12 @@
# planilla/api/Dockerfile
FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 4000
CMD ["sh", "-c", "npx prisma migrate deploy && node server.js"]