Skip to content

Commit

Permalink
add rails setup commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
rshewitt committed Dec 21, 2023
1 parent bbdce9e commit 2e3894f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ WORKDIR /mdtranslator

RUN bundle install

RUN rails g scaffold translate file:binary reader:string writer:string
RUN rails db:migrate RAILS_ENV=development

EXPOSE 3000

CMD ["rails", "server", "-b", "0.0.0.0", "-p", "3000"]

0 comments on commit 2e3894f

Please sign in to comment.