Skip to content

Commit

Permalink
add dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Karina5005 committed Oct 10, 2023
1 parent a802121 commit b280908
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM python:3.10
WORKDIR /backup
RUN pip install backup-github-org==1.0.4
ENTRYPOINT ["/usr/local/bin/backup-github", "--all", "-t", "$ACCESS_TOKEN", "-o", "./backup/",
"--metrics_path", "./metrics/${ORGANIZATION}_github_backup.prom", "$ORGANIZATION", ">", "./logs_${ORGANIZATION}.log"]

0 comments on commit b280908

Please sign in to comment.