instalar volumen con permisos correctos

This commit is contained in:
fauno 2019-04-20 12:16:06 -03:00
parent b2f73ab22b
commit c3fdfa960d
No known key found for this signature in database
GPG key ID: 456032D717A4CD9C

View file

@ -55,6 +55,7 @@ ENV RAILS_MASTER_KEY=$MASTER_KEY
ENV RAILS_ENV production
RUN install -m 640 -o root -g root ./monit.conf /etc/monit.d/puma.conf
RUN monit -t
RUN install -dm 2700 -o app -g www-data /srv/http/data
VOLUME "/srv/http/data"
EXPOSE 3000
EXPOSE 8080