diff --git a/prototypes/quic_demo/Dockerfile b/prototypes/quic_demo/Dockerfile index 930db77..4e7e283 100644 --- a/prototypes/quic_demo/Dockerfile +++ b/prototypes/quic_demo/Dockerfile @@ -76,6 +76,8 @@ WORKDIR /home/ptth_user COPY --from=build /ptth/target/release/quic_demo_relay_server ./ ARG git_version -RUN echo -n "$git_version" > ./git_version.txt +RUN \ +echo -n "$git_version" > ./git_version.txt && \ +ln -s quic_demo_relay_server app CMD ["/usr/bin/tini", "--", "./quic_demo_relay_server"] diff --git a/prototypes/quic_demo/build_app_package.bash b/prototypes/quic_demo/build_app_package.bash index bf4bce0..9322ba2 100755 --- a/prototypes/quic_demo/build_app_package.bash +++ b/prototypes/quic_demo/build_app_package.bash @@ -14,6 +14,6 @@ popd sudo docker run --rm "$DOCKER_TAG" tar -c \ quic_demo_relay_server \ -| gzip > "app_packages/ptth_relay_$GIT_COMMIT_SHORT.tar.gz" +| gzip > "app_packages/ptth_quic_relay_$GIT_COMMIT_SHORT.tar.gz" -sudo docker build -f app_package_Dockerfile -t ptth_app_host:latest . +# sudo docker build -f app_package_Dockerfile -t ptth_app_host:latest .