diff --git a/Dockerfile b/Dockerfile index e78d360..f1579cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,12 +4,12 @@ FROM alpine:latest # Install necessary packages RUN apk --no-cache add git curl rsync +#Create Directory to store Repositories +RUN mkdir -p /srv/Repo_Cache + # Add script COPY repo_watcher.sh /srv/repo_watcher.sh RUN chmod +x /srv/repo_watcher.sh -#Create Directory to store Repositories -RUN mkdir -p /srv/Repo_Cache - # Start script (Alpine uses /bin/sh instead of /bin/bash) CMD ["/bin/sh", "-c", "/srv/repo_watcher.sh"] \ No newline at end of file