update start sh to work with environemtns and update dockerfile to use it to start all needed services
This commit is contained in:
parent
5610f1d868
commit
7cea586f41
2 changed files with 31 additions and 33 deletions
|
|
@ -41,5 +41,6 @@ EXPOSE 8000
|
|||
# Set the entry point (adjust to your CLI's entry point)
|
||||
# ENTRYPOINT ["python", "/app/main.py"]
|
||||
# ENTRYPOINT ["/app/runall.sh"]
|
||||
CMD ["/bin/bash" ,"-c" ,"alembic upgrade head && uvicorn api.app:app --host 0.0.0.0 --port 8000"]
|
||||
# CMD ["/bin/bash" ,"-c" ,"alembic upgrade head && uvicorn api.app:app --host 0.0.0.0 --port 8000"]
|
||||
# ENTRYPOINT ["uvicorn", "api.app:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
CMD ["./start.sh"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue