|
|
@@ -10,9 +10,6 @@ ENV SPRINGBOOT_OPTS="--spring.profiles.active=prod"
|
|
|
|
|
|
EXPOSE 2021
|
|
|
|
|
|
-COPY . /test
|
|
|
-RUN cd /test && ls
|
|
|
-RUN ls /test/railway-admin
|
|
|
-RUN ls /test/railway-admin/target
|
|
|
-COPY $APP_NAME/target/$APP_NAME-*.jar /app.jar
|
|
|
+
|
|
|
+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
|