Merge pull request #50 from techiall/fix/dockerfile

Replace base docker image with Bitnami Minideb to fix #50 and #39
This commit is contained in:
Dániel Szabó 2022-09-16 19:37:57 +03:00 committed by GitHub
commit 7cd136cd7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,8 +10,8 @@ COPY . .
# run release build # run release build
RUN cargo build --release RUN cargo build --release
# create final container using slim version of debian # https://hub.docker.com/r/bitnami/minideb
FROM debian:buster-slim FROM bitnami/minideb:latest
# microbin will be in /usr/local/bin/microbin/ # microbin will be in /usr/local/bin/microbin/
WORKDIR /usr/local/bin WORKDIR /usr/local/bin