reduce container size

from around 700mb to 400mb
This commit is contained in:
Bernd Storath
2026-02-11 15:36:29 +01:00
parent 71aaec93ef
commit b3cc1ce839
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ COPY --from=build /app/.output /app
COPY --from=build /app/server/database/migrations /app/server/database/migrations
# libsql (https://github.com/nitrojs/nitro/issues/3328)
RUN cd /app/server && \
npm install --no-save libsql && \
npm install --no-save --omit=dev libsql && \
npm cache clean --force
# cli
COPY --from=build /app/cli/cli.sh /usr/local/bin/cli