diff options
author | Astound <kirito@disroot.org> | 2025-01-05 01:57:02 +0800 |
---|---|---|
committer | Astound <kirito@disroot.org> | 2025-01-05 01:57:02 +0800 |
commit | 9b57d1f433172d793f0792bc383681a1d9e5429c (patch) | |
tree | b164a35c16097f260819bb8d0133dfcc0ee43b1f /Dockerfile | |
parent | f176f3bfd8a5188a7ed647e53225b5d7f4597941 (diff) | |
download | hyperbola-mirror-master.tar.lz hyperbola-mirror-master.tar.xz hyperbola-mirror-master.zip |
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -4,12 +4,14 @@ RUN pacman -Syu --noconfirm && pacman -S --noconfirm \ nginx rsync cronie util-linux findutils && \ pacman -Scc --noconfirm -RUN mkdir /srv/repo +# 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"] |