Dockerfile

This commit is contained in:
Your Name
2025-08-22 13:05:40 +09:30
parent 5c4c7686e6
commit bdb5be2de1
+21
View File
@@ -0,0 +1,21 @@
# Use official Node.js v23.10.0 base image
FROM node:23.10.0
# Set working directory
WORKDIR /code
# Copy only package files first (for better caching)
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of the code
COPY . .
# Expose port 8080
EXPOSE 8080
# Default command
CMD ["npm", "run", "dev"]