kardosdrur commited on
Commit
8a8b0ac
1 Parent(s): 7788fc8

Made sure to expose port

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -0
  2. main.py +1 -1
Dockerfile CHANGED
@@ -18,4 +18,5 @@ COPY --chown=user ./download_data.py /mteb/download_data.py
18
  WORKDIR /mteb
19
  RUN python3 download_data.py
20
 
 
21
  CMD ["python3", "main.py"]
 
18
  WORKDIR /mteb
19
  RUN python3 download_data.py
20
 
21
+ EXPOSE 7860
22
  CMD ["python3", "main.py"]
main.py CHANGED
@@ -1,3 +1,3 @@
1
  from mteb.leaderboard.app import demo
2
 
3
- demo.launch()
 
1
  from mteb.leaderboard.app import demo
2
 
3
+ demo.launch(server_name="0.0.0.0", server_port=7860)