FROM alpine:latest | |
RUN adduser -u 1000 -D user \ | |
&& mkdir /app \ | |
&& wget -qO- https://github.com/dunglas/mercure/releases/download/v0.16.3/mercure-legacy_Linux_$(apk --print-arch).tar.gz | tar xvz -C /app \ | |
&& chown -R user:user /app | |
USER user | |
WORKDIR /app | |
ENTRYPOINT [ "./mercure" ] | |
CMD [ "-a", ":7860", "-c", "*", "-D" ] | |