informe-comercial-alfa/Dockerfile

14 lines
280 B
Docker
Raw Permalink Normal View History

2026-09-21 23:11:53 +00:00
FROM node:22-alpine
WORKDIR /app
# native modules on Alpine (musl) must be compiled
RUN apk add --no-cache python3 make g++
COPY package.json ./
RUN npm install
COPY . .
RUN npm run build
EXPOSE 3000
ENV NODE_ENV=production
ENV PORT=3000
ENV HOSTNAME=0.0.0.0
CMD ["npm", "start"]