This commit is contained in:
@@ -21,7 +21,7 @@ RUN dotnet nuget add source ${PACKAGETEST_FEED_URL} --name "myfeed_gitea" --user
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
RUN dotnet restore "SimplePackage/SimplePackage.csproj" --runtime linux-x64
|
||||
WORKDIR "/SimplePackage"
|
||||
WORKDIR "/src/SimplePackage"
|
||||
RUN dotnet build "SimplePackage.csproj" --no-restore -c Release -o /app /property:Version=${BuildVersion:-1.0.0-dev} --self-contained --runtime linux-x64
|
||||
|
||||
FROM build AS publish
|
||||
|
||||
Reference in New Issue
Block a user