mirror of
https://github.com/NicolasConstant/BirdsiteLive
synced 2025-06-05 21:49:16 +02:00
only copy src folder
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user