MindSpark / Dockerfile
TheK3R1M's picture
Upload Dockerfile
62c0581 verified
raw
history blame contribute delete
250 Bytes
FROM node:20
# Create app directory
WORKDIR /app
# Install dependencies
COPY package*.json ./
RUN npm install
# Copy source code
COPY . .
# Build the app
RUN npm run build
# Serve the application
CMD ["npx", "serve", "-s", "dist", "-l", "7860"]