diff --git a/Dockerfile b/Dockerfile index 9bde256..c9af61a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -78,7 +78,7 @@ RUN cd / RUN chmod +x build_csharp_models.sh && ./build_csharp_models.sh RUN cp /infer-out/models.sql /infer-release/usr/local/lib/infer/infer/lib/models.sql RUN dotnet test Cilsil.Test/Cilsil.Test.csproj -RUN dotnet publish -c Release Cilsil/Cilsil.csproj -r ubuntu.16.10-x64 +RUN dotnet publish -c Release Cilsil/Cilsil.csproj -r linux-x64 RUN dotnet build Examples/Examples/Examples.csproj FROM debian:bullseye-slim AS release @@ -87,7 +87,7 @@ WORKDIR infersharp COPY --from=backend /infer-release/usr/local /infersharp/infer ENV PATH /infersharp/infer/bin:${PATH} COPY --from=backend /Examples/Examples/bin/Debug/net5.0/ /infersharp/Examples/ -COPY --from=backend /Cilsil/bin/Release/net5.0/ubuntu.16.10-x64/publish/ /infersharp/Cilsil/ +COPY --from=backend /Cilsil/bin/Release/net5.0/linux-x64/publish/ /infersharp/Cilsil/ COPY --from=backend run_infersharp.sh /infersharp/ COPY --from=backend /.build/NOTICE.txt / -COPY --from=backend LICENSE / \ No newline at end of file +COPY --from=backend LICENSE /