Commit Inicial
Some checks failed
Build and Push to Gitea Registry / publish-images (push) Failing after 2m4s
Some checks failed
Build and Push to Gitea Registry / publish-images (push) Failing after 2m4s
This commit is contained in:
11
Backend/Dockerfile
Normal file
11
Backend/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN dotnet restore
|
||||
RUN dotnet publish -c Release -o out
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:10.0
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/out .
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["dotnet", "Backend.dll"]
|
||||
Reference in New Issue
Block a user