diff --git a/server.Dockerfile b/server.Dockerfile index 87b96bda2..53f38bb96 100644 --- a/server.Dockerfile +++ b/server.Dockerfile @@ -13,6 +13,8 @@ COPY . /go/src/${NOTARYPKG} WORKDIR /go/src/${NOTARYPKG} +RUN chmod 0600 ./fixtures/database/* + ENV SERVICE_NAME=notary_server EXPOSE 4443 diff --git a/signer.Dockerfile b/signer.Dockerfile index d509c2f65..1760f5299 100644 --- a/signer.Dockerfile +++ b/signer.Dockerfile @@ -13,6 +13,8 @@ COPY . /go/src/${NOTARYPKG} WORKDIR /go/src/${NOTARYPKG} +RUN chmod 0600 ./fixtures/database/* + ENV SERVICE_NAME=notary_signer ENV NOTARY_SIGNER_DEFAULT_ALIAS="timestamp_1" ENV NOTARY_SIGNER_TIMESTAMP_1="testpassword"