mirror of
https://github.com/shadoll/sLogos.git
synced 2025-12-20 03:26:59 +00:00
refactor: Update Dockerfile and Docker Compose configuration for improved build process and add Svelte 5.28.2 dependency
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user