Commit 23209151 authored by René Schöne's avatar René Schöne
Browse files

Update Dockerfile to configure app to start with environment variables.

parent 5ed37c78
Pipeline #7316 passed with stages
in 4 minutes and 12 seconds
......@@ -18,5 +18,7 @@ WORKDIR /ros2rag
RUN ./gradlew --no-daemon installDist
ENTRYPOINT /bin/bash -c "./ros2rag.starter/build/install/ros2rag.starter/bin/ros2rag.starter ./ros2rag.common/config.yaml"
ENV TARGET starter
ENV CONFIG_FILE ./ros2rag.common/config.yaml
ENTRYPOINT /bin/bash -c "./ros2rag.${TARGET}/build/install/ros2rag.${TARGET}/bin/ros2rag.${TARGET} ${CONFIG_FILE}"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment