diff --git a/Dockerfile b/Dockerfile index c8fc7f3..8cc70e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,13 +20,12 @@ RUN if [ ! -f "$SSH_KEY_PATH" ]; then \ # Nginx configuration COPY nginx.conf.dist /etc/nginx/nginx.conf +COPY webhook.php /usr/share/nginx/html/webhook.php # Entrypoint.sh -COPY entrypoint.sh /usr/local/bin/entrypoint.sh -RUN chmod +x /usr/local/bin/entrypoint.sh +COPY 99-init-repos.sh /docker-entrypoint.d/99-init-repos.sh # Expose ports EXPOSE 80 -EXPOSE 443 # Fetch repo -CMD ["entrypoint.sh"] \ No newline at end of file +CMD ["nginx","-g","daemon: off;"] \ No newline at end of file