instalar volumen con permisos correctos
This commit is contained in:
parent
b2f73ab22b
commit
c3fdfa960d
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ ENV RAILS_MASTER_KEY=$MASTER_KEY
|
||||||
ENV RAILS_ENV production
|
ENV RAILS_ENV production
|
||||||
RUN install -m 640 -o root -g root ./monit.conf /etc/monit.d/puma.conf
|
RUN install -m 640 -o root -g root ./monit.conf /etc/monit.d/puma.conf
|
||||||
RUN monit -t
|
RUN monit -t
|
||||||
|
RUN install -dm 2700 -o app -g www-data /srv/http/data
|
||||||
VOLUME "/srv/http/data"
|
VOLUME "/srv/http/data"
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
Loading…
Reference in a new issue