Spaces:
Build error
Build error
Update Dockerfile
Browse files36 unmodified lines373839404136 unmodified lines# Expose the backend port (change this if your FastAPI app uses a different port)EXPOSE 7860# Start Redis server, PostgreSQL server, and the FastAPI app using UvicornCMD ["bash", "-c", "service postgresql start && redis-server --daemonize yes && uvicorn app:app --host 0.0.0.0 --port 7860"]36 unmodified lines373839404136 unmodified lines# Expose the backend port (change this if your FastAPI app uses a different port)EXPOSE 7860# Start Redis server and the FastAPI app using UvicornCMD ["bash", "-c", "service redis-server start && pg_ctl start -D /usr/local/pgsql/data -l logfile && uvicorn app:app --host 0.0.0.0 --port 7860"]
Dockerfile+2-2