We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0b0112f + 7399e00 commit 03d88e5Copy full SHA for 03d88e5
1 file changed
Dockerfile
@@ -27,10 +27,7 @@ ARG LIBRARY_VERSION=1.2.0
27
28
WORKDIR /app
29
30
-COPY ./*.sln .git ./
31
-
32
-RUN dotnet tool install -g minver-cli --version 1.0.0 && \
33
- /root/.dotnet/tools/minver > .version
+COPY ./*.sln ./
34
35
WORKDIR /app/src
36
@@ -74,6 +71,11 @@ COPY ./src .
74
71
75
72
76
73
+COPY ./*.sln .git ./
+
+RUN dotnet tool install -g minver-cli --version 1.0.0 && \
77
+ /root/.dotnet/tools/minver > .version
78
79
RUN dotnet run --project build/build.csproj -- --runtime=${RUNTIME} --library-version=${LIBRARY_VERSION}
80
81
FROM mcr.microsoft.com/dotnet/core/runtime-deps:${CONTAINER_RUNTIME_VERSION}-${CONTAINER_RUNTIME} AS runtime
0 commit comments