Skip to content

Commit

Permalink
补充dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
universero committed Sep 5, 2024
1 parent a36efdd commit c7b3ccc
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM openjdk:17

ARG WORKDIR=/opt/run

WORKDIR ${WORKDIR}
COPY run/lib run/lib
COPY meowcloud-app/target/meowcloud-api-1.0.0.jar meowcloud.jar

EXPOSE 5508

ENV LANG=zh_CN.UTF-8
ENV LANGUAGE=zh_CN.UTF-8
ENV LC_ALL=zh_CN.UTF-8
ENV TZ=Asia/Shanghai
ENV SPRING_PROFILES_ACTIVE=prod

ENTRYPOINT java -jar meowcloud.jar

0 comments on commit c7b3ccc

Please sign in to comment.