Skip to content

Commit

Permalink
prettify Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
snshn committed Jan 14, 2024
1 parent 54d734b commit dc4e8b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,19 @@ RUN tar xfz dataurl.tar.gz \
&& rm dataurl.tar.gz

WORKDIR dataurl/

RUN make install



FROM alpine

RUN apk update && \
apk add --no-cache openssl && \
rm -rf "/var/cache/apk/*"

COPY --from=builder /home/rust/.cargo/bin/dataurl /usr/bin/dataurl

WORKDIR /tmp

ENTRYPOINT ["/usr/bin/dataurl"]

0 comments on commit dc4e8b8

Please sign in to comment.