api-docs / Dockerfile
Hanzo Dev
Initial commit for api-docs template
e2db416
raw
history blame
280 Bytes
FROM node:20-slim
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm ci --only=production
# Copy application files
COPY . .
# Build the application
RUN npm run build
# Expose port
EXPOSE 3000
# Start the application
CMD ["npm", "start"]