misza222 commited on
Commit
8594063
1 Parent(s): ccff530

exposed port

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.9
2
 
3
  WORKDIR /code
4
 
@@ -10,4 +10,6 @@ RUN echo "Hello world!!!"
10
 
11
  COPY . .
12
 
 
 
13
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
+ FROM python:3.10-bullseye
2
 
3
  WORKDIR /code
4
 
 
10
 
11
  COPY . .
12
 
13
+ EXPOSE 7860
14
+
15
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]