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