diff --git a/Dockerfile b/Dockerfile index 04ed1bb41..8725588b3 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 && \