From c6744bbfafb4aad0b05da57369a1002cd693d96b Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 11 Mar 2026 07:22:31 +0100 Subject: [PATCH] change workdir to /protonmail/ and add creating of /root/.gnupg and change permissions --- build/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/Dockerfile b/build/Dockerfile index 97c808e..78d4c15 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -23,6 +23,8 @@ LABEL maintainer="Xiaonan Shen " EXPOSE 1025/tcp EXPOSE 1143/tcp +RUN mkdir -p /root/.gnupg && chmod 700 /root/.gnupg + # Install dependencies and protonmail bridge RUN apt-get update \ && apt-get install -y --no-install-recommends \ @@ -32,9 +34,9 @@ RUN apt-get update \ # Copy bash scripts COPY gpgparams entrypoint.sh /protonmail/ +WORKDIR /protonmail/ # Copy protonmail -WORKDIR /usr/bin/ COPY --from=build /build/proton-bridge/bridge /usr/bin/ COPY --from=build /build/proton-bridge/proton-bridge /usr/bin/ COPY --from=build /build/proton-bridge/vault-editor /usr/bin/