test ports
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user