Skip to content

Commit 27bf03f

Browse files
committed
RM-3709: replaced ADD with COPY, used exec form in CMD (#11)
1 parent 9ce59a0 commit 27bf03f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server-db/src/main/resources/db/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ WORKDIR /liquibase/changelog
88

99
COPY changelog/db.changelog-master.yaml ./
1010
# create dir structure as specified in changelog file above
11-
ADD changelog/changes ./db/changelog/changes
11+
COPY changelog/changes ./db/changelog/changes
1212

1313
COPY liquibase.properties.docker ./liquibase.properties
1414

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

0 commit comments

Comments
 (0)