Files
chesskit/Dockerfile
2025-07-24 13:09:51 +02:00

21 lines
292 B
Docker

# Use Node LTS image
FROM node:18-alpine
# Set working directory
WORKDIR /app
# Copy dependency files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of the app
COPY . .
# Expose development port
EXPOSE 3000
# Start the dev server
CMD ["npm", "run", "dev"]