ykl45 commited on
Commit
b5c9938
·
verified ·
1 Parent(s): 8233ce8

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11
2
+ RUN apt update
3
+ RUN apt install git
4
+ RUN git clone https://github.com/renqabs/jdvae.git /app
5
+ WORKDIR app
6
+ RUN pip install -r requirements.txt
7
+ EXPOSE 7860
8
+ WORKDIR api
9
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]