Skip to content

Commit

Permalink
fix :: setenv is useless i guess. changing to --env-file
Browse files Browse the repository at this point in the history
  • Loading branch information
jombidev committed Sep 26, 2024
1 parent 3277ff6 commit e14991a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
FROM amazoncorretto:17
COPY build/libs/palette-0.0.1-SNAPSHOT.jar palette.jar
COPY production.env .env

ENTRYPOINT [
"set", "-a", "&&", "source", ".env", "&&", "set", "+a;",
"java", "-jar", "palette.jar", "--spring.config.location=classpath:/application.yml,classpath:/application-production.yml"
]

0 comments on commit e14991a

Please sign in to comment.