First commit

This commit is contained in:
2025-10-17 21:11:04 -07:00
parent e5357de71b
commit cfbccd5cb5
4 changed files with 78 additions and 0 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
# === Dockerfile ===
FROM postgres:17-alpine
# Install Docker CLI + bash + core utilities
RUN apk add --no-cache docker-cli bash coreutils
# Create backup directory
RUN 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"]