mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix Docker build
This commit is contained in:
@@ -12,15 +12,13 @@ WORKDIR ${APP_HOME}
|
|||||||
# Set NODE_ENV to production
|
# Set NODE_ENV to production
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
# Install app dependencies
|
# Bundle app source
|
||||||
COPY package*.json post-install.js ./
|
COPY . ./
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
echo "*** Install npm packages ***" && \
|
echo "*** Install npm packages ***" && \
|
||||||
npm i --no-audit --no-fund --loglevel=error --no-progress --omit=dev && npm cache clean --force
|
npm i --no-audit --no-fund --loglevel=error --no-progress --omit=dev && npm cache clean --force
|
||||||
|
|
||||||
# Bundle app source
|
|
||||||
COPY . ./
|
|
||||||
|
|
||||||
# Copy default chats, characters and user avatars to <folder>.default folder
|
# Copy default chats, characters and user avatars to <folder>.default folder
|
||||||
RUN \
|
RUN \
|
||||||
rm -f "config.yaml" || true && \
|
rm -f "config.yaml" || true && \
|
||||||
|
Reference in New Issue
Block a user