didi-lot2-backend/backend/admin-dashboard/Dockerfile.dev
2026-07-10 03:39:53 -07:00

24 lines
402 B
Text

# Development Dockerfile for Admin Dashboard
# Uses Node.js directly for hot reload support
FROM node:20-alpine
# Install curl for health checks
RUN apk add --no-cache curl
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install --legacy-peer-deps
# Copy application code
COPY . .
# Expose port
EXPOSE 3000
# Start development server
CMD ["npm", "start"]