Fix copying json files from root dir on building docker image
This commit is contained in:
parent
052c96be25
commit
c73d809487
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ RUN gradle buildFatJar --no-daemon
|
|||
FROM openjdk:11
|
||||
EXPOSE 3002
|
||||
RUN mkdir /app
|
||||
COPY --from=build /home/gradle/src/.env /home/gradle/src/build/libs/*.jar /app/
|
||||
COPY --from=build /home/gradle/src/.env /home/gradle/src/*.json /home/gradle/src/build/libs/*.jar /app/
|
||||
|
||||
ENV PORT=3002
|
||||
ENTRYPOINT ["java","-jar","/app/schools-all.jar"]
|
||||
|
|
Loading…
Reference in a new issue