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 FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
WORKDIR /src WORKDIR /src
COPY api/*.csproj . COPY *.csproj ./
RUN dotnet restore RUN dotnet restore
COPY api/. . COPY . ./
RUN dotnet publish -c Release -o /app/publish RUN dotnet publish -c Release -o /app/publish
# run # run
FROM mcr.microsoft.com/dotnet/aspnet:10.0 FROM mcr.microsoft.com/dotnet/aspnet:10.0
WORKDIR /app WORKDIR /app
ENV ASPNETCORE_URLS=http://+:5000 ENV ASPNETCORE_URLS=http://+:5000
COPY --from=build /app/publish . COPY --from=build /app/publish ./
EXPOSE 5000 EXPOSE 5000

View File

@@ -5,4 +5,4 @@ services:
container_name: agologum-api container_name: agologum-api
restart: always restart: always
ports: ports:
- "5000:80" - "5000:5000"