Dockerfile: reduce size, fix entrypoint

This commit is contained in:
eta 2020-06-19 09:23:57 +01:00
parent 22871c2c0c
commit 38e79749a8

View file

@ -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"]