16 lines
319 B
Docker
16 lines
319 B
Docker
FROM alpine:latest
|
|
|
|
# Install rclone and bash
|
|
RUN apk update && apk add --no-cache rclone bash
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy the entrypoint script into the container
|
|
COPY entrypoint.sh .
|
|
COPY rclone.conf /root/.config/rclone/rclone.conf
|
|
|
|
|
|
# Make sure the script is executable
|
|
RUN chmod +x entrypoint.sh
|
|
|
|
CMD ["./entrypoint.sh"] |