docker: expose non-80 port inside containers

This commit is contained in:
Abdullah Atta
2024-08-09 11:20:07 +05:00
parent 21a9b4c203
commit cd06a31d1b
4 changed files with 6 additions and 12 deletions

View File

@@ -1,7 +1,5 @@
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-alpine AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
ARG TARGETARCH