pup-py commited on
Commit
a24ffe2
·
1 Parent(s): 4bec359
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -30,7 +30,9 @@ RUN $PUP
30
 
31
  RUN pup py3.11
32
 
 
 
33
  EXPOSE 7860
34
 
35
- CMD ["pixi", "run", "python", "-m", "http.server", "7860", "--directory", "."]
36
- # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
30
 
31
  RUN pup py3.11
32
 
33
+ RUN pup fetch . fastapi
34
+
35
  EXPOSE 7860
36
 
37
+ # CMD ["pixi", "run", "python", "-m", "http.server", "7860", "--directory", "."]
38
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]