Fix start.sh permissions

This commit is contained in:
Keannu Bernasol 2024-08-30 22:05:43 +08:00
parent 3d14d227a7
commit 425eb61209
2 changed files with 2 additions and 1 deletions

View file

@ -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]

View file

@ -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