This commit is contained in:
ls
2024-11-14 15:34:59 +08:00
parent 959e7720a3
commit d61a6376dd
6 changed files with 189 additions and 46 deletions

View File

@@ -24,5 +24,6 @@ EXPOSE 8080
#ADD ./src/main/resources/jeecg ./config/jeecg
COPY --from=build /app/physical-launcher/target/physical-launcher-3.7.0.jar physical-launcher-3.7.0.jar
COPY --from=build /app/templates ./templates
ENV PROFILE=dev
CMD sleep 10;java -Djava.security.egd=file:/dev/./urandom -jar physical-launcher-3.7.0.jar --spring.profiles.active=test
CMD sleep 10;java -Djava.security.egd=file:/dev/./urandom -jar physical-launcher-3.7.0.jar --spring.profiles.active=${PROFILE}