hyperbola-mirror/Dockerfile

16 lines
301 B
Docker
Raw Normal View History

2024-07-20 19:58:42 -04:00
FROM docker.io/rusian/hyperbola:v0.4.4
2022-02-17 15:23:10 -05:00
RUN pacman -Syu --noconfirm && pacman -S --noconfirm \
2024-07-20 19:58:42 -04:00
nginx rsync cronie util-linux findutils && \
pacman -Scc --noconfirm
2022-02-17 15:23:10 -05:00
RUN mkdir /srv/repo
COPY entrypoint.bash /
RUN chmod u+x /entrypoint.bash
VOLUME /srv/repo
EXPOSE 80
ENTRYPOINT ["/entrypoint.bash"]