New container
This commit is contained in:
@ -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"]
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user