Skip to content

Commit

Permalink
fix(dockerfile): do not clean up source (#2882)
Browse files Browse the repository at this point in the history
## Describe your changes

Fixes https://linear.app/nango/issue/NAN-1946/fix-helm-charts-for-server

- Do not remove source on build
Ideally we don't keep them but the migrations folder is not compiled. I
tried already to fix that but it's more complicated thn it seems; The
helm charts were wrongly set to use this image here (with my warnings)
so I'm just going with the simplest solution
NangoHQ/nango-helm-charts#2
  • Loading branch information
bodinsamuel authored Oct 24, 2024
1 parent 3c4b325 commit 5f5d9e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ RUN true \
# Clean src
RUN true \
&& rm -rf packages/*/src \
&& rm -rf packages/*/lib \
# && rm -rf packages/*/lib will break database migrations because they are not compiled; barely saves a few MBs
&& rm -rf packages/*/public \
&& rm -rf packages/*/node_modules

Expand Down

0 comments on commit 5f5d9e3

Please sign in to comment.