Merge branch 'master' into master

This commit is contained in:
Dániel Szabó 2022-09-26 10:35:38 +03:00 committed by GitHub
commit afa3c516ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,16 +10,22 @@ RUN \
apt-get -y install ca-certificates tzdata &&\
cargo build --release
FROM debian:bullseye-slim
# https://hub.docker.com/r/bitnami/minideb
FROM bitnami/minideb:latest
# microbin will be in /app
WORKDIR /app
# copy time zone info
COPY --from=build \
/usr/share/zoneinfo \
/usr/share/zoneinfo
COPY --from=build \
/etc/ssl/certs/ca-certificates.crt \
/etc/ssl/certs/ca-certificates.crt
# copy built exacutable
COPY --from=build \
/app/target/release/microbin \
/usr/bin/microbin