Files
bookmeterplus/Dockerfile
Krzysztof Płaczek 3046780f1b Improvements and docker
2025-09-18 15:37:41 +02:00

21 lines
342 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
FROM node:20
# Set working directory inside container
WORKDIR /src
# Copy package files first (for better caching)
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of your project
COPY . .
# Expose Vites default dev port
EXPOSE 5173
# Default command
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]