Обновить PARR.API/Dockerfile
This commit is contained in:
@@ -7,7 +7,7 @@ EXPOSE 80
|
|||||||
FROM 10.99.253.167:8090/dotnet/sdk:7.0 AS build
|
FROM 10.99.253.167:8090/dotnet/sdk:7.0 AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY ["NuGet.config", "."]
|
COPY ["NuGet.config", "."]
|
||||||
COPY ["PARR_API/PARR.API.csproj", "PARR_API/"]
|
COPY ["PARR.API/PARR.API.csproj", "PARR_API/"]
|
||||||
COPY ["PARR.DAL/PARR.DAL.csproj", "PARR.DAL/"]
|
COPY ["PARR.DAL/PARR.DAL.csproj", "PARR.DAL/"]
|
||||||
RUN dotnet restore "PARR_API/PARR.API.csproj"
|
RUN dotnet restore "PARR_API/PARR.API.csproj"
|
||||||
COPY . .
|
COPY . .
|
||||||
@@ -25,4 +25,4 @@ ENTRYPOINT ["dotnet", "PARR.API.dll"]
|
|||||||
|
|
||||||
|
|
||||||
### EXAMPLE ###
|
### EXAMPLE ###
|
||||||
# docker build -t parr-api:v1.0.0 --build-arg app_version=1.0.0 -f PARR.API/Dockerfile .
|
# docker build -t parr-api:v1.0.0 --build-arg app_version=1.0.0 -f PARR.API/Dockerfile .
|
||||||
|
|||||||
Reference in New Issue
Block a user