Skip to content

Commit f9f235d

Browse files
committed
add note to dockerfile
1 parent 114d4c7 commit f9f235d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ COPY . .
1818
RUN chown -R appuser:appuser /app
1919
USER appuser
2020

21-
21+
# Instead of removing the cache, one can use a multi-stage build; see:
22+
# https://tech.quantco.com/blog/pixi-production
23+
# Shipping conda environments to production using pixi
24+
# Pavel Zwerschke
25+
# Thursday, July 11, 2024
2226
RUN pixi install --locked --environment prod && rm -rf ~/.cache/rattler
2327

2428
EXPOSE 8050

0 commit comments

Comments
 (0)