From 2e3894fb84a12d8b08b1ff6e13fd39e24e8ce1f7 Mon Sep 17 00:00:00 2001 From: Reid Hewitt Date: Thu, 21 Dec 2023 12:50:49 -0700 Subject: [PATCH] add rails setup commands. --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5ef44a7..7a3e376 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file