Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -41,4 +41,4 @@ COPY ./ .
|
|
41 |
EXPOSE 7860
|
42 |
|
43 |
# Start Redis server and the FastAPI app using Uvicorn
|
44 |
-
CMD ["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"]
|
|
|
41 |
EXPOSE 7860
|
42 |
|
43 |
# Start Redis server and the FastAPI app using Uvicorn
|
44 |
+
CMD ["bash", "-c", "sudo service redis-server start && sudo pg_ctl start -D /usr/local/pgsql/data -l logfile && uvicorn app:app --host 0.0.0.0 --port 7860"]
|