Update Windows docker file to new arch.
This commit is contained in:
Родитель
dd7a750aec
Коммит
2618c7b26f
|
@ -8,4 +8,3 @@ RUN dotnet publish -c Release -o out
|
||||||
|
|
||||||
WORKDIR /build/out
|
WORKDIR /build/out
|
||||||
ENTRYPOINT ["dotnet", "Opc.Ua.Publisher.dll"]
|
ENTRYPOINT ["dotnet", "Opc.Ua.Publisher.dll"]
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,10 @@
|
||||||
FROM microsoft/dotnet:1.1-sdk-nanoserver
|
FROM microsoft/dotnet:1.1-sdk-nanoserver
|
||||||
|
|
||||||
COPY / /build
|
COPY /src /build
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
RUN dotnet restore
|
RUN dotnet restore
|
||||||
|
RUN dotnet publish -c Release -o out
|
||||||
|
|
||||||
WORKDIR /build/src/GatewayApp.NetCore
|
WORKDIR /build/out
|
||||||
RUN dotnet publish -c Debug -f netcoreapp1.1 -r win10-x64 -o bin/Debug/netcoreapp1.1
|
ENTRYPOINT ["dotnet", "Opc.Ua.Publisher.dll"]
|
||||||
|
|
||||||
WORKDIR /build/src/GatewayApp.NetCore/bin/Debug/netcoreapp1.1
|
|
||||||
RUN dir
|
|
||||||
ENV PATH=/build/src/GatewayApp.NetCore/bin/Debug/netcoreapp1.1
|
|
||||||
ENTRYPOINT ["./GatewayApp.NetCore"]
|
|
||||||
|
|
|
@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
|
||||||
..\.travis.yml = ..\.travis.yml
|
..\.travis.yml = ..\.travis.yml
|
||||||
..\appveyor.yml = ..\appveyor.yml
|
..\appveyor.yml = ..\appveyor.yml
|
||||||
..\Dockerfile = ..\Dockerfile
|
..\Dockerfile = ..\Dockerfile
|
||||||
|
..\Dockerfile.Windows = ..\Dockerfile.Windows
|
||||||
..\License.txt = ..\License.txt
|
..\License.txt = ..\License.txt
|
||||||
..\README.md = ..\README.md
|
..\README.md = ..\README.md
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
|
|
Загрузка…
Ссылка в новой задаче