Merge pull request #2289 from internetee/fix-dockerfiles

Fix dockerfiles
This commit is contained in:
Dinar Safiulin 2022-02-16 09:31:03 +03:00 committed by GitHub
commit 2a21fe14ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 7 deletions

View file

@ -9,7 +9,7 @@ ENV SECRET_KEY_BASE "$SECRET_KEY_BASE"
RUN npm install -g yarn@"$YARN_VER"
RUN mkdir -p -v -m776 {/opt/webapps/app/tmp/pids,/opt/ca,/opt/ca/newcerts}
RUN bash -c 'mkdir -pv -m776 {/opt/webapps/app/tmp/pids,/opt/ca,/opt/ca/newcerts}'
RUN echo -n 12 > /opt/ca/serial
RUN chmod 776 /opt/ca/serial
RUN echo '3A0e' > /opt/ca/crlnumber

View file

@ -9,8 +9,7 @@ ENV SECRET_KEY_BASE "$SECRET_KEY_BASE"
RUN npm install -g yarn@"$YARN_VER"
RUN mkdir -p -m776 /opt/webapps/app/tmp/pids
RUN mkdir -p -m776 /opt/ca/newcerts
RUN bash -c 'mkdir -pv -m776 {/opt/webapps/app/tmp/pids,/opt/ca,/opt/ca/newcerts}'
RUN echo -n 12 > /opt/ca/serial
RUN chmod 776 /opt/ca/serial
RUN echo '3A0e' > /opt/ca/crlnumber