Docker: Update Alpine version
| @@ -1,4 +1,4 @@ | |||
| 1 | FROM node:lts-alpine3.19 | 1 | FROM node:lts-alpine3.21 |
| 2 | 2 | ||
| 3 | # Arguments | 3 | # Arguments |
| 4 | ARG APP_HOME=/home/node/app | 4 | ARG APP_HOME=/home/node/app |
| @@ -19,7 +19,7 @@ RUN \ | |||
| 19 | echo "*** Install npm packages ***" && \ | 19 | echo "*** Install npm packages ***" && \ |
| 20 | npm i --no-audit --no-fund --loglevel=error --no-progress --omit=dev && npm cache clean --force | 20 | npm i --no-audit --no-fund --loglevel=error --no-progress --omit=dev && npm cache clean --force |
| 21 | 21 | ||
| 22 | # Copy default chats, characters and user avatars to <folder>.default folder | 22 | # Create config directory and link config.yaml |
| 23 | RUN \ | 23 | RUN \ |
| 24 | rm -f "config.yaml" || true && \ | 24 | rm -f "config.yaml" || true && \ |
| 25 | ln -s "./config/config.yaml" "config.yaml" || true && \ | 25 | ln -s "./config/config.yaml" "config.yaml" || true && \ |
| @@ -30,7 +30,7 @@ RUN \ | |||
| 30 | echo "*** Run Webpack ***" && \ | 30 | echo "*** Run Webpack ***" && \ |
| 31 | node "./docker/build-lib.js" | 31 | node "./docker/build-lib.js" |
| 32 | 32 | ||
| 33 | # Cleanup unnecessary files | 33 | # Set the entrypoint script |
| 34 | RUN \ | 34 | RUN \ |
| 35 | echo "*** Cleanup ***" && \ | 35 | echo "*** Cleanup ***" && \ |
| 36 | mv "./docker/docker-entrypoint.sh" "./" && \ | 36 | mv "./docker/docker-entrypoint.sh" "./" && \ |