Files
backupbot/Dockerfile
Chris Cowan 966f9c7c2a
All checks were successful
Build and Push Docker Image / build (push) Successful in 28s
typo
2025-10-19 21:14:08 -07:00

15 lines
341 B
Docker

# === Dockerfile ===
FROM postgres:17-alpine
# Install Docker CLI + bash + core utilities
RUN apk add --no-cache docker-cli bash coreutils btrfs-progs \
&& mkdir -p /backups
# Copy backup script
COPY backup.sh /usr/local/bin/backup.sh
RUN chmod +x /usr/local/bin/backup.sh
# Use bash as default
ENTRYPOINT ["/usr/local/bin/backup.sh"]