test ports
All checks were successful
Build and Deploy Frontend / build-and-deploy (push) Successful in 4s
Build and Deploy API / build-and-deploy (push) Successful in 7s

This commit is contained in:
2026-02-28 18:48:52 -06:00
parent 553006f36b
commit f27a71dc35
2 changed files with 4 additions and 4 deletions

View File

@@ -3,17 +3,17 @@
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
WORKDIR /src
COPY api/*.csproj .
COPY *.csproj ./
RUN dotnet restore
COPY api/. .
COPY . ./
RUN dotnet publish -c Release -o /app/publish
# run
FROM mcr.microsoft.com/dotnet/aspnet:10.0
WORKDIR /app
ENV ASPNETCORE_URLS=http://+:5000
COPY --from=build /app/publish .
COPY --from=build /app/publish ./
EXPOSE 5000