fixed CMD and ENTRYPOINT
Some checks failed
Build Docker Image / Docker-Build (push) Successful in 39s
Build Docker Image / Clean-Registry (push) Failing after 1s

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-01-08 15:37:37 +01:00
parent 4e550d85b2
commit 1509c71f97

View File

@@ -24,5 +24,6 @@ COPY --from=build /w4r/resources /home/railman/resources
RUN mv resources/w4r.jar . && chown -R railman .
USER railman
EXPOSE 8080
CMD java -cp . -jar w4r.jar --start-trains
ENTRYPOINT ["/usr/bin/env"]
CMD ["java", "-cp", ".", "-jar", "w4r.jar", "--start-trains"]