New container
Some checks failed
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/test Pipeline failed

This commit is contained in:
2025-04-01 12:51:38 +00:00
parent a4723a077e
commit 580653bbea
2 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,6 @@ RUN composer update --no-dev && wget https://downloads.rclone.org/rclone-current
FROM php:8.4-cli
COPY --from=0 ./src /app
WORKDIR /app
RUN dpkg -i rclone-current-linux-amd64.deb && rm rclone-current-linux-amd64.deb
RUN dpkg -i app/rclone-current-linux-amd64.deb && rm app/rclone-current-linux-amd64.deb
ENTRYPOINT ["./backup"]
ENTRYPOINT ["app/backup"]

View File

@ -43,3 +43,5 @@ chmod +x phpcpd.phar
./composer.phar test-full && ./composer.phar analyze && ./composer.phar metrics && ./composer.phar doc
# Using Docker
docker run --rm -v /srv/raid/:/srv/raid/ -v /home/jct/dockersetup/backup:/config/ code.jcktrue.dk/jct/backupscript:latest backup /config/config.yml