mirror of
				https://github.com/D4M13N-D3V/art_platform.git
				synced 2025-10-31 17:45:39 +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"/> |         <PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0"/> | ||||||
|     </ItemGroup> |     </ItemGroup> | ||||||
| 
 | 
 | ||||||
|  |     <ItemGroup> | ||||||
|  |       <ProjectReference Include="..\ArtPlatform.Database\ArtPlatform.Database.csproj" /> | ||||||
|  |     </ItemGroup> | ||||||
|  | 
 | ||||||
|     <ItemGroup> |     <ItemGroup> | ||||||
|       <Content Include="..\.dockerignore"> |       <Content Include="..\.dockerignore"> | ||||||
|         <Link>.dockerignore</Link> |         <Link>.dockerignore</Link> | ||||||
|       </Content> |       </Content> | ||||||
|     </ItemGroup> |     </ItemGroup> | ||||||
| 
 | 
 | ||||||
|     <ItemGroup> |  | ||||||
|       <ProjectReference Include="..\ArtPlatform.Database\ArtPlatform.Database.csproj" /> |  | ||||||
|     </ItemGroup> |  | ||||||
| 
 |  | ||||||
| </Project> | </Project> | ||||||
|  | |||||||
| @ -8,6 +8,7 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build | |||||||
| ARG BUILD_CONFIGURATION=Release | ARG BUILD_CONFIGURATION=Release | ||||||
| WORKDIR /src | WORKDIR /src | ||||||
| COPY ["ArtPlatform.API/ArtPlatform.API.csproj", "ArtPlatform.API/"] | COPY ["ArtPlatform.API/ArtPlatform.API.csproj", "ArtPlatform.API/"] | ||||||
|  | COPY ["ArtPlatform.Database/ArtPlatform.Database.csproj", "ArtPlatform.Database/"] | ||||||
| RUN dotnet restore "ArtPlatform.API/ArtPlatform.API.csproj" | RUN dotnet restore "ArtPlatform.API/ArtPlatform.API.csproj" | ||||||
| COPY . . | COPY . . | ||||||
| WORKDIR "/src/ArtPlatform.API" | WORKDIR "/src/ArtPlatform.API" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user