Files
bookmeterplus/Dockerfile
2026-01-01 10:34:28 +01:00

20 lines
337 B
Docker
Executable File

FROM node:20
# Set working directory inside container
WORKDIR /app
# Copy package files first (better layer caching)
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of the project
COPY . .
# Expose Vite dev server port
EXPOSE 5173
# Default command
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]