Improvements and docker

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

No files matched your search

+20
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 Vite’s default dev port
EXPOSE 5173
# Default command
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]