mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove npm cache in Docker to save >40 MB on image size
This commit is contained in:
@@ -16,7 +16,7 @@ WORKDIR ${APP_HOME}
|
||||
COPY package*.json ./
|
||||
RUN \
|
||||
echo "*** Install npm packages ***" && \
|
||||
npm install
|
||||
npm install && npm cache clean --force
|
||||
|
||||
# Bundle app source
|
||||
COPY . ./
|
||||
|
Reference in New Issue
Block a user