Files
backupscript/Dockerfile
Jens True 580653bbea
Some checks failed
ci/woodpecker/push/docker Pipeline was successful
ci/woodpecker/push/test Pipeline failed
New container
2025-04-01 12:51:38 +00:00

11 lines
294 B
Docker

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