From dc4e8b8284789aca73c0a677c8a871615fe63bc3 Mon Sep 17 00:00:00 2001 From: Sunshine Date: Sun, 14 Jan 2024 10:58:30 -0500 Subject: [PATCH] prettify Dockerfile --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 90dc638..b33b0d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,9 +8,11 @@ RUN tar xfz dataurl.tar.gz \ && rm dataurl.tar.gz WORKDIR dataurl/ + RUN make install + FROM alpine RUN apk update && \ @@ -18,5 +20,7 @@ RUN apk update && \ rm -rf "/var/cache/apk/*" COPY --from=builder /home/rust/.cargo/bin/dataurl /usr/bin/dataurl + WORKDIR /tmp + ENTRYPOINT ["/usr/bin/dataurl"]