Add copying of missing libraries from builder

Signed-off-by: trivernis <trivernis@protonmail.com>
docker
trivernis 4 years ago
parent d494206c0c
commit e6092816aa
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -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 /

Loading…
Cancel
Save