reduce container size
from around 700mb to 400mb
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ COPY --from=build /app/.output /app
|
|||||||
COPY --from=build /app/server/database/migrations /app/server/database/migrations
|
COPY --from=build /app/server/database/migrations /app/server/database/migrations
|
||||||
# libsql (https://github.com/nitrojs/nitro/issues/3328)
|
# libsql (https://github.com/nitrojs/nitro/issues/3328)
|
||||||
RUN cd /app/server && \
|
RUN cd /app/server && \
|
||||||
npm install --no-save libsql && \
|
npm install --no-save --omit=dev libsql && \
|
||||||
npm cache clean --force
|
npm cache clean --force
|
||||||
# cli
|
# cli
|
||||||
COPY --from=build /app/cli/cli.sh /usr/local/bin/cli
|
COPY --from=build /app/cli/cli.sh /usr/local/bin/cli
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
setups.@nuxt/test-utils="3.23.0"
|
||||||
Reference in New Issue
Block a user