Skip to content

Commit

Permalink
RM-3709: replaced ADD with COPY, used exec form in CMD (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
mir-jalal authored Nov 19, 2024
1 parent ffd1a9d commit bed41f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server-db/src/main/resources/db/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ WORKDIR /liquibase/changelog

COPY changelog/db.changelog-master.yaml ./
# create dir structure as specified in changelog file above
ADD changelog/changes ./db/changelog/changes
COPY changelog/changes ./db/changelog/changes

COPY liquibase.properties.docker ./liquibase.properties

CMD liquibase --url=$DB_URL --username=$DB_USER --password=${DB_PASSWORD} update
CMD ["liquibase", "--url=$DB_URL", "--username=$DB_USER", "--password=${DB_PASSWORD}", "update"]

0 comments on commit bed41f5

Please sign in to comment.