# Production stage FROM node:22-alpine WORKDIR /app # Copy package files COPY package*.json ./ # Install dependencies RUN npm install --production # Copy application code COPY . . COPY .env .env # Expose port EXPOSE 8545 # Start the application CMD ["npm", "start"]