11 lines
294 B
Docker
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"]
|