From 38e79749a8c6edf144eeb126499c11f458bddd0a Mon Sep 17 00:00:00 2001 From: eta Date: Fri, 19 Jun 2020 09:23:57 +0100 Subject: [PATCH] Dockerfile: reduce size, fix entrypoint --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9559750..ebdd0d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,7 @@ RUN make FROM debian:stable-slim AS whatsxmpp WORKDIR /wx -RUN apt-get update && apt-get install -y libz-dev libsqlite3-dev libssl-dev ca-certificates -RUN apt-get clean && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y libz-dev libsqlite3-dev libssl-dev ca-certificates && apt-get clean && rm -rf /var/lib/apt/lists/* RUN mkdir /wx-data COPY --from=whatscl-compiled /src/whatsxmpp/whatsxmpp /wx/whatsxmpp -ENTRYPOINT "/wx/whatsxmpp" +ENTRYPOINT ["/wx/whatsxmpp"]