From f17a1ad70ffa0d3e060c5d8baab9e55dc19158b5 Mon Sep 17 00:00:00 2001 From: Roman Semenov Date: Thu, 9 Apr 2020 21:22:15 +0300 Subject: [PATCH] create workdir in docker --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 33c79a5..610503d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,4 +13,5 @@ RUN cd phase2 && \ find ./target/release/ -maxdepth 1 -type f -perm /a+x -exec sh -c 'mv {} /build/bin/phase2_$(basename {})' \; FROM debian:buster-slim -COPY --from=builder /build/bin/* /usr/bin/ \ No newline at end of file +COPY --from=builder /build/bin/* /usr/bin/ +WORKDIR /data