From 9b57d1f433172d793f0792bc383681a1d9e5429c Mon Sep 17 00:00:00 2001 From: Astound Date: Sun, 5 Jan 2025 01:57:02 +0800 Subject: update --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 87e8ba2..587b555 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] -- cgit v1.2.3