mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Merge pull request #190 from gidzzz/reduce-docker-size
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
.git
|
||||
node_modules
|
||||
npm-debug.log
|
||||
readme*
|
||||
|
@@ -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 . ./
|
||||
@@ -40,7 +40,6 @@ RUN \
|
||||
echo "*** Cleanup ***" && \
|
||||
mv "./docker/docker-entrypoint.sh" "./" && \
|
||||
rm -rf "./docker" && \
|
||||
rm -rf "./.git" && \
|
||||
echo "*** Make docker-entrypoint.sh executable ***" && \
|
||||
chmod +x "./docker-entrypoint.sh" && \
|
||||
echo "*** Convert line endings to Unix format ***" && \
|
||||
|
Reference in New Issue
Block a user