diff --git a/Dockerfile b/Dockerfile index 61778c8..c19e011 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,7 +32,7 @@ RUN apt-get update \ && apt-get upgrade -y COPY --from=build /usr/src/target/release/ptth_relay /root -COPY --from=build /usr/src/crates/ptth-relay/src/git_version.rs /root/git_version.rs +COPY --from=build /usr/src/crates/ptth_relay/src/git_version.rs /root/git_version.rs COPY --from=build /usr/src/handlebars /root/handlebars WORKDIR /root diff --git a/build-and-minimize.bash b/build-and-minimize.bash index 155ec58..4c96733 100755 --- a/build-and-minimize.bash +++ b/build-and-minimize.bash @@ -5,6 +5,8 @@ # the base Debian layer, and repacks it so I can upload to servers a little # faster. +set -euo pipefail + TEMP_GIBBERISH="ptth_build_L6KLMVS6" TEMP_TAR="$TEMP_GIBBERISH/ptth.tar" UPLOADABLE_TAR="$PWD/ptth_latest.tar.gz"