:docker: Fix Dockerfile again
parent
b40eda4a69
commit
00c29a6464
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue