Skip to content

Commit

Permalink
Merge pull request #4 from shikharish/fix-backup
Browse files Browse the repository at this point in the history
fix backup container docker config
  • Loading branch information
rajivharlalka authored Jul 24, 2024
2 parents d86c64a + b340a5e commit b298a39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backup/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ WORKDIR /root

ARG DBPASSFILE

COPY ./ ./backup
COPY ./backup ./backup
COPY ${DBPASSFILE} ./.pgpass

RUN pip3 install -qr ./backup/requirements.txt --break-system-packages
Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ services:

backup:
build:
context: ./backup
context: ./
dockerfile: ./backup/Dockerfile
args:
- DBPASSFILE=${DBPASSFILE}
restart: always
Expand Down

0 comments on commit b298a39

Please sign in to comment.