hyperbola-mirror/Dockerfile
2024-07-21 07:58:42 +08:00

16 lines
301 B
Docker

FROM docker.io/rusian/hyperbola:v0.4.4
RUN pacman -Syu --noconfirm && pacman -S --noconfirm \
nginx rsync cronie util-linux findutils && \
pacman -Scc --noconfirm
RUN mkdir /srv/repo
COPY entrypoint.bash /
RUN chmod u+x /entrypoint.bash
VOLUME /srv/repo
EXPOSE 80
ENTRYPOINT ["/entrypoint.bash"]