File size: 343 Bytes
79d183f 470312b |
1 2 3 4 5 6 7 8 9 10 11 12 |
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", "*", "-X", "-D" ]
|