diff --git a/Dockerfile b/Dockerfile index a53c59c55b45..a661e669578c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -118,6 +118,7 @@ COPY dist/$TARGETOS/$TARGETARCH/$BIN_NAME /bin/ # storage backend, if desired; the server will be started with /vault/config as # the configuration directory so you can add additional config files in that # location. +ENV HOME /home/vault RUN mkdir -p /vault/logs && \ mkdir -p /vault/file && \ mkdir -p /vault/config && \