|
|
|
@@ -21,9 +21,9 @@ RUN touch config/elasticsearch.yml |
|
|
|
RUN mkdir log |
|
|
|
|
|
|
|
RUN /bin/bash -l -c 'bundle install' |
|
|
|
RUN /bin/bash -l -c 'RAILS_ENV=production rails db:create' |
|
|
|
RUN /bin/bash -l -c 'RAILS_ENV=production bundle exec rake sync_table_structure:import_csv' |
|
|
|
RUN /bin/bash -l -c 'RAILS_ENV=production rails db:migrate' |
|
|
|
#RUN /bin/bash -l -c 'RAILS_ENV=production rails db:create' |
|
|
|
#RUN /bin/bash -l -c 'RAILS_ENV=production bundle exec rake sync_table_structure:import_csv' |
|
|
|
#RUN /bin/bash -l -c 'RAILS_ENV=production rails db:migrate' |
|
|
|
|
|
|
|
#EXPOSE 4000 |
|
|
|
#RUN /bin/bash -l -c 'RAILS_ENV=production puma' |