first commit
build and deploy / build (push) Successful in 1m29s

This commit is contained in:
2024-12-26 13:24:05 +09:00
commit e740a5d93d
11 changed files with 230 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# ベースイメージにPostgreSQL 15の公式クライアントを使用
FROM postgres:15
# 必要なツールをインストール
RUN apt-get update && apt-get install -y \
curl \
awscli \
&& rm -rf /var/lib/apt/lists/*
# 作業ディレクトリ
WORKDIR /backup
# スクリプトをコピー
COPY backup.sh /backup/backup.sh
# 実行権限を付与
RUN chmod +x /backup/backup.sh
# エントリーポイントを設定
ENTRYPOINT ["/backup/backup.sh"]