:docker: Fix Dockerfile again

main
_ 2020-11-30 15:57:14 +00:00
parent b40eda4a69
commit 00c29a6464
2 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,7 @@ RUN apt-get update \
&& apt-get upgrade -y && apt-get upgrade -y
COPY --from=build /usr/src/target/release/ptth_relay /root 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 COPY --from=build /usr/src/handlebars /root/handlebars
WORKDIR /root WORKDIR /root

View File

@ -5,6 +5,8 @@
# the base Debian layer, and repacks it so I can upload to servers a little # the base Debian layer, and repacks it so I can upload to servers a little
# faster. # faster.
set -euo pipefail
TEMP_GIBBERISH="ptth_build_L6KLMVS6" TEMP_GIBBERISH="ptth_build_L6KLMVS6"
TEMP_TAR="$TEMP_GIBBERISH/ptth.tar" TEMP_TAR="$TEMP_GIBBERISH/ptth.tar"
UPLOADABLE_TAR="$PWD/ptth_latest.tar.gz" UPLOADABLE_TAR="$PWD/ptth_latest.tar.gz"