Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:akiko-pusu/redmine_theme_kodomo_m…
Browse files Browse the repository at this point in the history
…idori
  • Loading branch information
akiko-pusu committed May 6, 2020
2 parents 339b6c8 + 15a5590 commit 51c5515
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ RUN gem update bundler
RUN bundle config set without 'postgresql rmagick mysql'
RUN bundle install
RUN bundle exec rake db:migrate && bundle exec rake generate_secret_token
RUN bundle exec rails runner public/themes/redmine_theme_kodomo_midori/miscs/sample.rb

WORKDIR /app/redmine

EXPOSE 3000
CMD ["rails", "server", "-b", "0.0.0.0"]
CMD ["bundle", "exec", "rails", "server", "-b", "0.0.0.0"]
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ services:
web:
build:
context: .
image: redmine_sqlite3
container_name: redmine_sqlite3
image: redmine_theme_kodomo_midori
container_name: redmine_theme_kodomo_midori
command: >
bash -c "bundle &&
bundle exec rake db:migrate &&
Expand Down

0 comments on commit 51c5515

Please sign in to comment.