From de2ffaca3c83d602086dd135b57f5fe97566c964 Mon Sep 17 00:00:00 2001 From: "David M. Klein" <4+leander19961@noreply.localhost> Date: Mon, 24 Aug 2026 15:22:17 +0200 Subject: [PATCH] =?UTF-8?q?docker/Dockerfile=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/Dockerfile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docker/Dockerfile diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..3e74753 --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,23 @@ +FROM rockylinux:latest + +RUN dnf install -y \ + dnf-plugins-core \ + createrepo_c \ + nginx \ + cronie \ + git \ + jq \ + yq \ + openssh-clients \ + && dnf clean all + +COPY sync.sh /usr/local/bin/sync.sh +COPY entrypoint.sh /entrypoint.sh +COPY nginx.conf /etc/nginx/conf.d/repo.conf +RUN chmod +x /usr/local/bin/sync.sh /entrypoint.sh \ + && rm -f /etc/nginx/conf.d/default.conf + +VOLUME /data/repo +EXPOSE 80 + +ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file