15 lines
261 B
Docker
15 lines
261 B
Docker
# Use official Node 18 base image
|
|
FROM node:22-slim
|
|
|
|
# Install pnpm globally
|
|
RUN npm install -g pnpm
|
|
|
|
# Set working directory
|
|
WORKDIR /app
|
|
|
|
# Copy your application code (optional, comment out if not needed)
|
|
# COPY . .
|
|
|
|
# Default command (optional)
|
|
CMD ["node"]
|