zhongkaifu commited on
Commit
1b0c007
·
1 Parent(s): c7ebbee

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -0
Dockerfile CHANGED
@@ -9,6 +9,18 @@ COPY ./requirements.txt /code/requirements.txt
9
 
10
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  COPY . .
13
 
14
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
9
 
10
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
12
+ RUN wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
13
+ RUN sudo dpkg -i packages-microsoft-prod.deb
14
+ RUN rm packages-microsoft-prod.deb
15
+
16
+ RUN apt-get update
17
+ RUN apt-get install -y dotnet-sdk
18
+ RUN apt-get install -y aspnetcore-runtime
19
+
20
+ RUN git clone https://github.com/zhongkaifu/Seq2SeqSharp.git
21
+
22
+
23
+
24
  COPY . .
25
 
26
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]