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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -10,7 +10,7 @@ COPY ./requirements.txt /code/requirements.txt
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
@@ -18,7 +18,8 @@ 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 . .
 
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 dpkg -i packages-microsoft-prod.deb
14
  RUN rm packages-microsoft-prod.deb
15
 
16
  RUN apt-get update
 
18
  RUN apt-get install -y aspnetcore-runtime
19
 
20
  RUN git clone https://github.com/zhongkaifu/Seq2SeqSharp.git
21
+ RUN cd Seq2SeqSharp
22
+ RUN dotnet build Seq2SeqSharp.sln --Configuration Release
23
 
24
 
25
  COPY . .