JaySenpai commited on
Commit
d2a5d22
·
verified ·
1 Parent(s): 1baa976

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -19,5 +19,9 @@ COPY app /code/app
19
  # Copy model
20
  COPY ./bert-model /code/./bert-model
21
 
22
- # Expose port and run
 
 
 
23
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
19
  # Copy model
20
  COPY ./bert-model /code/./bert-model
21
 
22
+ # Expose the port used by FastAPI
23
+ EXPOSE 7860
24
+
25
+ # Run the app
26
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
27
+