diff --git a/Dockerfile b/Dockerfile index eac08b0..47b6310 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ FROM alpine:latest RUN apk --no-cache add git curl rsync # Add script -ADD repo_watcher.sh /root/Repo_Watcher/repo_watcher.sh +COPY repo_watcher.sh /root/Repo_Watcher/repo_watcher.sh # Make script executable RUN chmod +x /root/Repo_Watcher/repo_watcher.sh diff --git a/repo_watcher.sh b/repo_watcher.sh index 567db68..9c3c25d 100644 --- a/repo_watcher.sh +++ b/repo_watcher.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Function to process each repo-destination pair process_repo() {