Browse Source

更新 'Dockerfile'

iamsee 4 years ago
parent
commit
db1f85d63f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -11,6 +11,6 @@ ENV SPRINGBOOT_OPTS="--spring.profiles.active=prod"
 EXPOSE 2021
 
 COPY . /test
-RUN ls -hl /test
+RUN cd /test && ls
 COPY $APP_NAME/target/$APP_NAME-*.jar /app.jar
 ENTRYPOINT exec java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar $SPRINGBOOT_OPTS