Spaces:
Build error
Build error
Update Dockerfile
Browse files49 unmodified lines50515253545556575849 unmodified lines#RUN pip install -U -q pyngrok ipython psycopg2 alembic# Create PostgreSQL users and databases in the backgroundRUN su -c "psql -c \"CREATE USER postadmin WITH PASSWORD 'postpass';\"" postgres &RUN su -c "psql -c \"CREATE DATABASE siksalaya;\"" postgres &RUN su -c "psql -c \"GRANT ALL PRIVILEGES ON DATABASE sikshyalaya TO postadmin;\"" postgres &# Start the FastAPI app using UvicornCMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]49 unmodified lines50515253545556575849 unmodified lines#RUN pip install -U -q pyngrok ipython psycopg2 alembic# Create PostgreSQL users and databases in the backgroundRUN sudo -c "psql -c \"CREATE USER postadmin WITH PASSWORD 'postpass';\"" postgres &RUN sudo -c "psql -c \"CREATE DATABASE siksalaya;\"" postgres &RUN sudo -c "psql -c \"GRANT ALL PRIVILEGES ON DATABASE sikshyalaya TO postadmin;\"" postgres &# Start the FastAPI app using UvicornCMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
Dockerfile+3-3