only copy src folder
This commit is contained in:
parent
56d3de862e
commit
d95debeff9
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ EXPOSE 80
|
||||||
EXPOSE 443
|
EXPOSE 443
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build
|
||||||
COPY . .
|
COPY ./src/ ./src/
|
||||||
RUN dotnet restore "/src/BirdsiteLive/BirdsiteLive.csproj"
|
RUN dotnet restore "/src/BirdsiteLive/BirdsiteLive.csproj"
|
||||||
RUN dotnet build "/src/BirdsiteLive/BirdsiteLive.csproj" -c Release -o /app/build
|
RUN dotnet build "/src/BirdsiteLive/BirdsiteLive.csproj" -c Release -o /app/build
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue