ashwinR commited on
Commit
542933f
1 Parent(s): 640392a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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"]