refactor: Update Dockerfile and Docker Compose configuration for improved build process and add Svelte 5.28.2 dependency

This commit is contained in:
sHa
2025-04-27 22:50:39 +03:00
parent 33e47c2b06
commit 07d7d7e39b
4 changed files with 136 additions and 6 deletions

View File

@@ -3,8 +3,7 @@ FROM node:slim
WORKDIR /app
COPY package*.json ./
RUN [ -f package-lock.json ] || touch package-lock.json
RUN npm install
RUN npm install || true
# Only copy minimal files for initial build, source will be mounted
COPY public/index.html public/global.css ./public/