Merge branch 'master' of https://github.com/D4M13N-D3V/meilisearch.NET
This commit is contained in:
		
						commit
						68852c9050
					
				| @ -1,21 +0,0 @@ | |||||||
| FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base |  | ||||||
| USER $APP_UID |  | ||||||
| WORKDIR /app |  | ||||||
| 
 |  | ||||||
| FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build |  | ||||||
| ARG BUILD_CONFIGURATION=Release |  | ||||||
| WORKDIR /src |  | ||||||
| COPY ["meilisearch.embedded.NET.console/meilisearch.embedded.NET.console.csproj", "meilisearch.embedded.NET.console/"] |  | ||||||
| RUN dotnet restore "meilisearch.embedded.NET.console/meilisearch.embedded.NET.console.csproj" |  | ||||||
| COPY . . |  | ||||||
| WORKDIR "/src/meilisearch.embedded.NET.console" |  | ||||||
| RUN dotnet build "meilisearch.embedded.NET.console.csproj" -c $BUILD_CONFIGURATION -o /app/build |  | ||||||
| 
 |  | ||||||
| FROM build AS publish |  | ||||||
| ARG BUILD_CONFIGURATION=Release |  | ||||||
| RUN dotnet publish "meilisearch.embedded.NET.console.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false |  | ||||||
| 
 |  | ||||||
| FROM base AS final |  | ||||||
| WORKDIR /app |  | ||||||
| COPY --from=publish /app/publish . |  | ||||||
| ENTRYPOINT ["dotnet", "meilisearch.embedded.NET.console.dll"] |  | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user