Files
milinda-pitch/Dockerfile
2026-01-14 15:05:12 +01:00

23 lines
286 B
Docker

FROM node:20-alpine
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install --production
# Copy static files
COPY . .
# Set environment
ENV NODE_ENV=production
ENV PORT=3000
# Expose port
EXPOSE 3000
# Start the server
CMD ["npm", "start"]