db migrate
This commit is contained in:
@@ -32,6 +32,10 @@ COPY . .
|
||||
ARG SECRET_KEY_BASE=fakekeyforassets
|
||||
RUN bin/rails assets:clobber && bundle exec rails assets:precompile
|
||||
|
||||
RUN bin/rails db:migrate
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
# ENTRYPOINT db:migrate
|
||||
|
||||
CMD ["bundle", "exec", "puma", "-C", "config/puma.rb"]
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ services:
|
||||
region: oregon
|
||||
branch: main
|
||||
plan: free
|
||||
dockerCommand: "bin/rails db:migrate && bundle exec puma -C config/puma.rb"
|
||||
dockerCommand: "bundle exec puma -C config/puma.rb"
|
||||
numInstances: 1
|
||||
healthCheckPath: /
|
||||
envVars:
|
||||
|
||||
Reference in New Issue
Block a user