build: slim backend release profile safely
All checks were successful
docker-images / build-and-push (admin, admin, termi-astro-admin, admin/Dockerfile) (push) Successful in 12s
docker-images / build-and-push (backend, backend, termi-astro-backend, backend/Dockerfile) (push) Successful in 26m8s
docker-images / build-and-push (frontend, frontend, termi-astro-frontend, frontend/Dockerfile) (push) Successful in 56s
All checks were successful
docker-images / build-and-push (admin, admin, termi-astro-admin, admin/Dockerfile) (push) Successful in 12s
docker-images / build-and-push (backend, backend, termi-astro-backend, backend/Dockerfile) (push) Successful in 26m8s
docker-images / build-and-push (frontend, frontend, termi-astro-frontend, frontend/Dockerfile) (push) Successful in 56s
This commit is contained in:
@@ -56,6 +56,10 @@ name = "tool"
|
|||||||
path = "src/bin/tool.rs"
|
path = "src/bin/tool.rs"
|
||||||
required-features = []
|
required-features = []
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
strip = "symbols"
|
||||||
|
lto = "thin"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
loco-rs = { workspace = true, features = ["testing"] }
|
loco-rs = { workspace = true, features = ["testing"] }
|
||||||
serial_test = { version = "3.1.1" }
|
serial_test = { version = "3.1.1" }
|
||||||
|
|||||||
Reference in New Issue
Block a user