chore: give kaniko relative paths in Dockerfile
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
63bde0a8b3
commit
907a4702d8
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in New Issue