restore absolute path
This commit is contained in:
parent
2c288eeeea
commit
91c56783dc
@ -3,7 +3,7 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/sdk:7.0 as build-env
|
FROM mcr.microsoft.com/dotnet/sdk:7.0 as build-env
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY . /src/
|
COPY . /src/
|
||||||
RUN dotnet restore API/API.csproj
|
RUN dotnet restore /src/API/API.csproj
|
||||||
RUN dotnet publish -c Release -o /publish
|
RUN dotnet publish -c Release -o /publish
|
||||||
|
|
||||||
FROM glax/tranga-base:latest as runtime
|
FROM glax/tranga-base:latest as runtime
|
||||||
|
Loading…
Reference in New Issue
Block a user