1 2 3 4 5 6 7 8 9 10 11 12
FROM node:22-alpine RUN apk add --no-cache git openssh-client WORKDIR /app COPY package.json package-lock.json ./ RUN npm ci --production=false COPY . . RUN npm run build EXPOSE 3000 CMD ["node", "dist/server/index.js"]