subjectid commited on
Commit
3dabc79
·
verified ·
1 Parent(s): 2757177

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -28,7 +28,7 @@ USER 10014
28
 
29
 
30
  ENV JAVA_OPTS="-XX:InitialRAMPercentage=50.0 -XX:MaxRAMPercentage=75.0"
31
- COPY --from=build app/target/build/libs/*.jar /app.jar
32
 
33
 
34
  WORKDIR app
@@ -38,7 +38,7 @@ WORKDIR app
38
  #USER ROOT
39
 
40
  EXPOSE 7860 27017
41
- COPY entrypoint.sh /entrypoint.sh
42
  # 赋予执行权限
43
  #RUN chmod +x /entrypoint.sh
44
  # 设置入口
 
28
 
29
 
30
  ENV JAVA_OPTS="-XX:InitialRAMPercentage=50.0 -XX:MaxRAMPercentage=75.0"
31
+ COPY --from=build app/target/build/libs/*.jar app/app.jar
32
 
33
 
34
  WORKDIR app
 
38
  #USER ROOT
39
 
40
  EXPOSE 7860 27017
41
+
42
  # 赋予执行权限
43
  #RUN chmod +x /entrypoint.sh
44
  # 设置入口