From e6092816aaf096744664df2533392a39754b880a Mon Sep 17 00:00:00 2001 From: trivernis Date: Wed, 11 Nov 2020 10:19:36 +0100 Subject: [PATCH] Add copying of missing libraries from builder Signed-off-by: trivernis --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 76791aa..8a30444 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN timeout 1s ./snekcloud-server || exit 0 RUN cp config/00_default.toml config/10_local.toml FROM alpine -RUN apk add --no-cache build-base +COPY --from=builder /usr/lib/libgcc* /usr/lib COPY --from=builder /usr/src/snekcloud-server/target/release/snekcloud-server . COPY --from=builder /usr/src/snekcloud-server/target/release/config / COPY --from=builder /usr/src/snekcloud-server/target/release/private_key /