Spaces:
Running
Running
File size: 286 Bytes
e4c6a7c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# Use Node.js runtime
FROM node:18-alpine
# Set working directory
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install all dependencies
RUN npm install
# Copy application code
COPY . .
# Expose port
EXPOSE 5173
# Start the development server
CMD ["npm", "run", "dev"] |