Skip to content

Commit f81e413

Browse files
authored
Merge pull request #886 from metacpan/ssoriche/mojo-api-startup
Start Mojolicious API application
2 parents e6cb354 + c9cdd81 commit f81e413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ USER metacpan-api:users
2424

2525
EXPOSE 5000
2626

27-
CMD ["carton", "exec", "plackup", "-p", "5000", "-r"]
27+
CMD [ "./wait-for-it.sh", "db:5432", "carton", "exec", "morbo", "-l", "http://*:5000", "-w", "root", "./bin/api.pl"]

0 commit comments

Comments
 (0)