main
parent
a925f6c95d
commit
1a74a792bc
|
@ -76,6 +76,8 @@ WORKDIR /home/ptth_user
|
||||||
COPY --from=build /ptth/target/release/quic_demo_relay_server ./
|
COPY --from=build /ptth/target/release/quic_demo_relay_server ./
|
||||||
|
|
||||||
ARG git_version
|
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"]
|
CMD ["/usr/bin/tini", "--", "./quic_demo_relay_server"]
|
||||||
|
|
|
@ -14,6 +14,6 @@ popd
|
||||||
|
|
||||||
sudo docker run --rm "$DOCKER_TAG" tar -c \
|
sudo docker run --rm "$DOCKER_TAG" tar -c \
|
||||||
quic_demo_relay_server \
|
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 .
|
||||||
|
|
Loading…
Reference in New Issue