Skip to content

Commit

Permalink
modifying entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
gtramonte committed Jul 30, 2024
1 parent a8b045e commit e17dfef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ COPY ./healtcheck.* /opt/

RUN chmod +x /opt/healtcheck.sh
RUN crontab -u root /opt/healtcheck.cron
RUN service cron start

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

ENTRYPOINT service cron start && uvicorn app.main:app --proxy-headers --host 0.0.0.0 --port 80
ENTRYPOINT service cron start && ./../wait-for-it.sh $(BROKER_SERVICE_HOST):5672 -- uvicorn main:app --host 0.0.0.0 --port '80'

0 comments on commit e17dfef

Please sign in to comment.