This commit is contained in:
		
							
								
								
									
										11
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								Dockerfile
									
									
									
									
									
								
							| @@ -1,11 +0,0 @@ | ||||
| FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build | ||||
| WORKDIR /src | ||||
| COPY . ./ | ||||
| RUN dotnet restore | ||||
| RUN dotnet publish "SchengenVisaApi/SchengenVisaApi.csproj" -c Release -o /app/publish | ||||
|  | ||||
| FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime | ||||
| WORKDIR /app | ||||
| COPY --from=build /app/publish ./ | ||||
| EXPOSE 5000 | ||||
| ENTRYPOINT ["dotnet", "SchengenVisaApi.dll"] | ||||
		Reference in New Issue
	
	Block a user