Files
planilla/api/Dockerfile
josedario87 2992bdc588
All checks were successful
build-and-push / build (push) Successful in 11s
build-and-push / deploy (push) Successful in 14s
seguimos mejorando
2025-05-14 18:36:17 -06:00

17 lines
234 B
Docker

FROM node:18-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
# Copiamos el script de arranque
COPY entrypoint.sh /app/entrypoint.sh
RUN chmod +x /app/entrypoint.sh
EXPOSE 4000
CMD ["sh", "/app/entrypoint.sh"]