(improvement)(chat) Support specifying spring.profiles.active at runtime to optimize the entire Docker deployment script. (#1302)

This commit is contained in:
lexluo09
2024-06-30 21:30:30 +08:00
committed by GitHub
parent c8b6af4887
commit b59c1303cc
5 changed files with 79 additions and 37 deletions

View File

@@ -26,4 +26,4 @@ WORKDIR /usr/src/app/supersonic-standalone-${SUPERSONIC_VERSION}
EXPOSE 9080
# Command to run the supersonic daemon
RUN chmod +x bin/supersonic-daemon.sh
CMD ["bash", "-c", "bin/supersonic-daemon.sh restart && tail -f /dev/null"]
CMD ["bash", "-c", "bin/supersonic-daemon.sh restart prd && tail -f /dev/null"]