Very large docker image size optimisations

without cross compiling to linux-musl, optimise image by compiling it on a slim rust image and then transferring only the binary over to a debian-slim image.
This commit is contained in:
Nick Bland
2021-11-16 15:40:32 +10:00
parent b279578b51
commit 0a31ae482b
4 changed files with 27 additions and 10 deletions

View File

@@ -1,5 +1,8 @@
target
target/
.vscode
tests
tests/
.git
.gitignore
.gitignore
.env
Dockerfile
migrations/