Skip to content

Commit 114d4c7

Browse files
committed
remove cache in dockerfile to reduce image size as shown in https://tech.quantco.com/blog/pixi-production
1 parent d188207 commit 114d4c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN chown -R appuser:appuser /app
1919
USER appuser
2020

2121

22-
RUN pixi install --locked --environment prod
22+
RUN pixi install --locked --environment prod && rm -rf ~/.cache/rattler
2323

2424
EXPOSE 8050
2525
ENTRYPOINT ["pixi", "run", "--"]

0 commit comments

Comments
 (0)