Print backtrace
@@ -16,10 +16,10 @@ WORKDIR /usr/src/josh
COPY . .
# RUN rm ./target/release/deps/josh* && cargo build --release
-RUN cargo build --release
+RUN cargo build
FROM rust:1.32.0
-COPY --from=builder /usr/src/josh/target/release/josh-proxy /usr/bin/josh-proxy
+COPY --from=builder /usr/src/josh/target/debug/josh-proxy /usr/bin/josh-proxy
-CMD josh-proxy --local=/tmp/josh-scratch/ --remote=https://gerrit.int.esrlabs.com
+CMD RUST_BACKTRACE=1 josh-proxy --local=/tmp/josh-scratch/ --remote=https://gerrit.int.esrlabs.com
