Skip to content

Commit

Permalink
starting service first
Browse files Browse the repository at this point in the history
  • Loading branch information
gtramonte committed Jul 30, 2024
1 parent a55c25a commit a8b045e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ RUN service cron start

#CMD ["uvicorn", "app.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "80"]

ENTRYPOINT uvicorn app.main:app --proxy-headers --host 0.0.0.0 --port 80 && service cron start
ENTRYPOINT service cron start && uvicorn app.main:app --proxy-headers --host 0.0.0.0 --port 80

0 comments on commit a8b045e

Please sign in to comment.