mercure / Dockerfile
gingdev's picture
allow anonymous
470312b
raw
history blame contribute delete
343 Bytes
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" ]