Files
bookmeterplus/Dockerfile
Krzysztof Płaczek 081812d678 Node 22 and year fix
2026-01-01 15:25:55 +01:00

20 lines
337 B
Docker
Executable File

FROM node:22
# 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"]