hyperbola-mirror/Dockerfile
2022-02-17 15:23:10 -05:00

18 lines
334 B
Docker

FROM rusian/hyperbola:0.4
LABEL MAINTAINER="heckyel@hyperbola.info"
RUN pacman -Syu --noconfirm && pacman -S --noconfirm \
nginx rsync cronie util-linux findutils
RUN pacman -Scc --noconfirm
RUN mkdir /srv/repo
COPY entrypoint.bash /
RUN chmod u+x /entrypoint.bash
VOLUME /srv/repo
EXPOSE 80
ENTRYPOINT ["/entrypoint.bash"]