Created
June 14, 2021 14:29
-
-
Save ShawnSWu/a16a797c19e94baac29f55410a4bf785 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM tomcat:8.5.47-jdk8-openjdk | |
MAINTAINER [email protected] | |
EXPOSE 8080 | |
WORKDIR /myapp | |
COPY application.jar /myapp/application | |
ENV TZ=Asia/Taipei | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
CMD java -jar application | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment