noosfero | Fix Prod Docker (!1673)

Arthur Diniz gitlab at mg.gitlab.com
Mon Apr 22 11:29:30 BRT 2019




Arthur Diniz commented on a discussion on config/docker/prod/Dockerfile: https://gitlab.com/noosfero/noosfero/merge_requests/1673#note_162925716

>  LABEL Description="This dockerfile builds a noosfero production environment."
>  
>  EXPOSE 3000
>  
> -ENV RAILS_ENV production
>  RUN apt-get update && apt-get install -y sudo cron nodejs postgresql-client
>  
>  WORKDIR /noosfero
>  ADD . /noosfero/
> -RUN ./script/quick-start -i
>  
> -RUN bundle install
> +COPY config/database.yml.docker config/database.yml
> +
> +RUN echo "IRB.conf[:SAVE_HISTORY] = 100" >> .irbrc
> +RUN echo "IRB.conf[:HISTORY_FILE] = '~/.irb-history'" >> .irbrc

Fix on commit 399ade171e48a92ef8cf8f7b018b0063e3628445

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1673#note_162925716
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20190422/6f5f2c1a/attachment-0001.html>


More information about the Noosfero-dev mailing list