mirror of
https://github.com/D4M13N-D3V/art_platform.git
synced 2025-03-14 07:44:54 +00:00
updated dockerfile
This commit is contained in:
parent
76c9ecb262
commit
869e096c27
@ -17,14 +17,14 @@
|
||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0"/>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ArtPlatform.Database\ArtPlatform.Database.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="..\.dockerignore">
|
||||
<Link>.dockerignore</Link>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ArtPlatform.Database\ArtPlatform.Database.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
@ -8,6 +8,7 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||
ARG BUILD_CONFIGURATION=Release
|
||||
WORKDIR /src
|
||||
COPY ["ArtPlatform.API/ArtPlatform.API.csproj", "ArtPlatform.API/"]
|
||||
COPY ["ArtPlatform.Database/ArtPlatform.Database.csproj", "ArtPlatform.Database/"]
|
||||
RUN dotnet restore "ArtPlatform.API/ArtPlatform.API.csproj"
|
||||
COPY . .
|
||||
WORKDIR "/src/ArtPlatform.API"
|
||||
|
Loading…
x
Reference in New Issue
Block a user