hyperbola-mirror/Dockerfile
Astound da120ee0be
All checks were successful
git-sync-with-mirror / git-sync (push) Successful in 1m14s
release / release-default (push) Successful in 15m28s
update trivy action
2025-01-20 07:17:10 +08:00

18 lines
444 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
# Create the /srv/repo directory to store repository data
RUN mkdir -p /srv/repo
COPY entrypoint.bash /
RUN chmod u+x /entrypoint.bash
# Define a mount point for the repository data
VOLUME /srv/repo
# Expose port 80 for the web server
EXPOSE 80
ENTRYPOINT ["/entrypoint.bash"]