chore: give kaniko relative paths in Dockerfile
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
surtur 2020-11-27 14:47:03 +01:00
parent 63bde0a8b3
commit 907a4702d8
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
FROM mcr.microsoft.com/dotnet/core/sdk:2.1-alpine
COPY . /src
WORKDIR /src
COPY . src
WORKDIR src
RUN dotnet --version && dotnet --info
RUN dotnet clean
RUN dotnet restore

View File

@ -1,7 +1,7 @@
FROM mcr.microsoft.com/dotnet/core/sdk:2.1-alpine
COPY . /src
WORKDIR /src
COPY . src
WORKDIR src
RUN dotnet --version && dotnet --info
RUN dotnet clean