Spaces:
Sleeping
Sleeping
zhongkaifu
commited on
Commit
·
5e6697e
1
Parent(s):
19749fd
Update Dockerfile
Browse files- Dockerfile +8 -2
Dockerfile
CHANGED
@@ -14,13 +14,19 @@ RUN 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 |
RUN cd Seq2SeqSharp
|
22 |
RUN dotnet build Seq2SeqSharp.sln --Configuration Release
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
25 |
COPY . .
|
26 |
|
|
|
14 |
RUN rm packages-microsoft-prod.deb
|
15 |
|
16 |
RUN apt-get update
|
17 |
+
RUN apt-get install -y dotnet-sdk-7.0
|
18 |
+
RUN apt-get install -y aspnetcore-runtime-7.0
|
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 |
+
RUN cd ..
|
25 |
+
RUN mkdir bin
|
26 |
+
RUN cd bin
|
27 |
+
RUN cp -r ../Seq2SeqSharp/Tools/Seq2SeqConsole/bin/* .
|
28 |
+
RUN ls -la
|
29 |
+
|
30 |
|
31 |
COPY . .
|
32 |
|