# Use official Node 18 base image FROM node:22-slim # Install pnpm globally RUN npm install -g pnpm # Copy your application code (optional, comment out if not needed) COPY . /app RUN cd /app && npm i RUN cd /app && npm run build # Set working directory WORKDIR /app # Default command (optional) CMD ["./scripts/docker/entrypoint.sh"]