Skip to content
This repository was archived by the owner on Feb 25, 2021. It is now read-only.

Commit 42d7c1e

Browse files
committed
fix(Dockerfile): solve the error
PendingMigrationError Fixed Fuzzapi/fuzzapi#60
1 parent ced791c commit 42d7c1e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ EXPOSE 3000
3131
# "bundle exec" for each of our commands.
3232
ENTRYPOINT ["bundle", "exec"]
3333

34+
# To resolve the error: PendingMigrationError
35+
RUN bundle exec rake db:migrate
36+
3437
# The main command to run when the container starts. Also
3538
# tell the Rails dev server to bind to all interfaces by
3639
# default.

0 commit comments

Comments
 (0)