Skip to content

Commit

Permalink
Change Timezone to Asia/Colombo
Browse files Browse the repository at this point in the history
  • Loading branch information
Kosala Gangabadage authored and azhamn committed Apr 9, 2020
1 parent c098433 commit 6d0bc8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM frolvlad/alpine-java:jre8-slim
EXPOSE 8000
COPY target/covid19-1.0.0-SNAPSHOT/*.* ./
RUN rm /etc/localtime
RUN ln -s /usr/share/zoneinfo/Asia/Colombo /etc/localtime
ENTRYPOINT ["java","-jar","covid19.jar"]

2 changes: 2 additions & 0 deletions Production.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ RUN ls -l /tmp/target
FROM frolvlad/alpine-java:jre8-slim
EXPOSE 8000
COPY --from=build /tmp/target/covid19-1.0.0-SNAPSHOT/*.* ./
RUN rm /etc/localtime
RUN ln -s /usr/share/zoneinfo/Asia/Colombo /etc/localtime
ENTRYPOINT ["java","-jar","covid19.jar"]

0 comments on commit 6d0bc8a

Please sign in to comment.