mirror of https://github.com/kiwix/kiwix-tools.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
450 B
19 lines
450 B
ARG VERSION=latest
|
|
|
|
# kiwix-tools is multi-arch
|
|
FROM ghcr.io/kiwix/kiwix-tools:$VERSION
|
|
LABEL org.opencontainers.image.source=https://github.com/openzim/kiwix-tools
|
|
|
|
# expose kiwix-serve default port and workdir
|
|
EXPOSE 8080
|
|
VOLUME /data
|
|
WORKDIR /data
|
|
|
|
# running as a named unprivileged user
|
|
RUN addgroup -S user && adduser -S user -G user
|
|
USER user
|
|
|
|
COPY ./start.sh /usr/local/bin/
|
|
|
|
ENTRYPOINT ["/usr/bin/dumb-init", "--", "/usr/local/bin/start.sh"]
|