FROM realaravinth/librepages:latest as base RUN echo foo FROM debian:bullseye-slim RUN apt update RUN apt-get -y --no-install-recommends install gpg tar curl wget WORKDIR /src COPY --from=base /usr/local/bin/librepages . COPY . . RUN find CMD ["/src/scripts/bin-publish.sh"]