From e622a5aab86d9db85b51119f2270fc3489ef7b5b Mon Sep 17 00:00:00 2001 From: tangowithfoxtrot <5676771+tangowithfoxtrot@users.noreply.github.com> Date: Thu, 11 Apr 2024 09:17:59 -0500 Subject: [PATCH] fix: allow relative entrypoint instead of absolute path --- crates/bws/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bws/Dockerfile b/crates/bws/Dockerfile index 4b5c7d8b9..ccf9865c9 100644 --- a/crates/bws/Dockerfile +++ b/crates/bws/Dockerfile @@ -38,10 +38,10 @@ LABEL com.bitwarden.product="bitwarden" # Set a HOME directory COPY --from=build /home/app /home/app ENV HOME=/home/app +WORKDIR /home/app # Copy built project from the build stage -WORKDIR /usr/local/bin -COPY --from=build /app/target/release/bws . +COPY --from=build /app/target/release/bws /bin/bws # Copy certs COPY --from=build /etc/ssl/certs /etc/ssl/certs