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 ./
|
COPY package*.json ./
|
||||||
RUN \
|
RUN \
|
||||||
echo "*** Install npm packages ***" && \
|
echo "*** Install npm packages ***" && \
|
||||||
npm install
|
npm install && npm cache clean --force
|
||||||
|
|
||||||
# Bundle app source
|
# Bundle app source
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
Reference in New Issue
Block a user