circulartext commited on
Commit
2015e28
1 Parent(s): 46a96ce

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -14,5 +14,6 @@ RUN apt-get update && apt-get install -y gosu && rm -rf /var/lib/apt/lists/*
14
  COPY entrypoint.sh /usr/local/bin/entrypoint.sh
15
  RUN chmod +x /usr/local/bin/entrypoint.sh
16
 
17
- # Define the entrypoint script to handle user creation and application startup
18
- ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
 
 
14
  COPY entrypoint.sh /usr/local/bin/entrypoint.sh
15
  RUN chmod +x /usr/local/bin/entrypoint.sh
16
 
17
+ # Default command to run if the user doesn't provide a command
18
+ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
19
+