mirror of
https://github.com/internetee/registry.git
synced 2025-06-04 03:37:28 +02:00
Merge pull request #2289 from internetee/fix-dockerfiles
Fix dockerfiles
This commit is contained in:
commit
2a21fe14ae
2 changed files with 6 additions and 7 deletions
|
@ -9,8 +9,8 @@ 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 echo -n 12 > /opt/ca/serial
|
||||
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
|
||||
RUN chmod 776 /opt/ca/crlnumber
|
||||
|
@ -23,4 +23,4 @@ COPY . .
|
|||
|
||||
RUN bundle exec rails assets:precompile
|
||||
|
||||
EXPOSE 3000
|
||||
EXPOSE 3000
|
||||
|
|
|
@ -9,9 +9,8 @@ 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 echo -n 12 > /opt/ca/serial
|
||||
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
|
||||
RUN chmod 776 /opt/ca/crlnumber
|
||||
|
@ -23,4 +22,4 @@ COPY . .
|
|||
|
||||
RUN bundle exec rails assets:precompile
|
||||
|
||||
EXPOSE 3000
|
||||
EXPOSE 3000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue