diff --git a/.woodpecker.yml b/.woodpecker.yml index 582610e..13dbd45 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -26,7 +26,7 @@ steps: cd "/mnt/nvme/files/docker projects/DRF-Template"; docker-compose -f docker-compose.demo.yml down; docker image rm git.keannu1.duckdns.org/keannu125/drf_template || true; - docker pull git.keannu1.duckdns.org/keannu125/drf_template:latest; docker volume rm "git.keannu1.duckdns.org/keannu125/drf_template_db_data" || true; + docker pull git.keannu1.duckdns.org/keannu125/drf_template:latest; docker compose -f docker-compose.demo.yml up -d;' secrets: [SSH_KEY] diff --git a/Dockerfile b/Dockerfile index c9b61e1..f53a5eb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ ENV DEBIAN_FRONTEND noninteractive WORKDIR /code COPY . /code/ +RUN chmod +x /code/start.sh # Install packages RUN apt-get update && apt-get install -y graphviz libgraphviz-dev graphviz-dev wget zip