create workdir in docker

This commit is contained in:
Roman Semenov 2020-04-09 21:22:15 +03:00 committed by GitHub
parent d8dc50a735
commit f17a1ad70f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 {})' \; find ./target/release/ -maxdepth 1 -type f -perm /a+x -exec sh -c 'mv {} /build/bin/phase2_$(basename {})' \;
FROM debian:buster-slim FROM debian:buster-slim
COPY --from=builder /build/bin/* /usr/bin/ COPY --from=builder /build/bin/* /usr/bin/
WORKDIR /data