Improvements and docker

This commit is contained in:
Krzysztof Płaczek
2025-09-18 15:37:41 +02:00
parent 9a66134469
commit 3046780f1b
15 changed files with 356 additions and 889 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
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"]