diff --git a/Config/F-DroidRepo/Dockerfile b/Config/F-DroidRepo/Dockerfile index b0adda3..35ea9b1 100644 --- a/Config/F-DroidRepo/Dockerfile +++ b/Config/F-DroidRepo/Dockerfile @@ -24,10 +24,6 @@ RUN mkdir -pv "$FDROID" WORKDIR "$FDROID" RUN fdroid init -# Start Command # - -CMD nginx -g "daemon off;" - # This is where the image would get published. # # Configure F-Droid Repo # @@ -138,7 +134,8 @@ RUN cp -rv "$FDROID" "$WEBROOT/" # having the URL be fdroid/repo/? How do others handle this? RUN cp -rv "$REPO"/* "$WEBROOT/" -CMD service nginx start && \ - echo "\n*** F-Droid repository has been started successfully! ***\n" && \ - tail -F /var/log/nginx/access.log & \ - tail -F /var/log/nginx/error.log +# Start Command # + +CMD tail -F /var/log/nginx/access.log & \ + tail -F /var/log/nginx/error.log & \ + nginx -g "daemon off;"