AstraOS commited on
Commit
05b3fe6
·
verified ·
1 Parent(s): c260eba

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -9,4 +9,10 @@ WORKDIR /app
9
  COPY . .
10
 
11
  EXPOSE 7860
12
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
 
 
 
 
 
9
  COPY . .
10
 
11
  EXPOSE 7860
12
+
13
+ # CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
14
+
15
+ COPY entrypoint.sh /entrypoint.sh
16
+ RUN chmod +x /entrypoint.sh
17
+
18
+ ENTRYPOINT ["/entrypoint.sh"]