docker changes and user authenticated message
This commit is contained in:
+4
-1
@@ -11,7 +11,7 @@ ADD Gemfile.lock /var/www/
|
||||
RUN chown -R web:web /var/www &&\
|
||||
mkdir -p /var/bundle &&\
|
||||
chown -R web:web /var/bundle
|
||||
RUN su -c "cd /var/www && bundle install --deployment --without development test --path /var/bundle" -s /bin/bash -l web
|
||||
RUN su -c "cd /var/www && bundle install --deployment --without development test assets --path /var/bundle" -s /bin/bash -l web
|
||||
|
||||
# Add application source
|
||||
ADD . /var/www
|
||||
@@ -21,4 +21,7 @@ USER web
|
||||
|
||||
WORKDIR /var/www
|
||||
|
||||
#VOLUME ['/Users/bterkuile/companytools/development/rails/mozo_bar/public/system:/var/www/public/system']
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["bundle", "exec", "foreman", "start"]
|
||||
|
||||
Reference in New Issue
Block a user