db migrate

This commit is contained in:
Ryan W
2022-09-10 17:36:21 -07:00
parent 39bcb76d53
commit 13be7addaf
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -32,8 +32,9 @@ COPY . .
ARG SECRET_KEY_BASE=fakekeyforassets
RUN bin/rails assets:clobber && bundle exec rails assets:precompile
# This is an approach for deploying to Render. It is not great, maybe there's a better way?
# https://community.render.com/t/release-command-for-db-migrations/247/6
ARG DATABASE_URL
# RUN printenv
RUN bin/rails db:migrate
EXPOSE 3000