pup-py commited on
Commit
9d7ea7b
·
1 Parent(s): 0e968fe

from python

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM ubuntu:latest
2
 
3
  WORKDIR /code
4
 
@@ -6,7 +6,7 @@ COPY . .
6
 
7
  RUN ./pup py3.11
8
 
9
- # EXPOSE 786
10
  # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
11
 
12
  CMD ["python3", "-m", "http.server", "7860", "--directory", "."]
 
1
+ FROM python:latest
2
 
3
  WORKDIR /code
4
 
 
6
 
7
  RUN ./pup py3.11
8
 
9
+ # EXPOSE 7860
10
  # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
11
 
12
  CMD ["python3", "-m", "http.server", "7860", "--directory", "."]