diff --git a/Dockerfile b/Dockerfile index 0b5330b..573d5d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,10 +4,8 @@ FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app EXPOSE 518 EXPOSE 1888 - -RUN apt-get update -RUN apt-get install libgdiplus -y -RUN apt-get install nano -y +EXPOSE 62541 +EXPOSE 503 FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src @@ -35,4 +33,4 @@ WORKDIR /app COPY --from=publish /app/publish . ENV TZ=Asia/Shanghai -ENTRYPOINT ["dotnet", "IoTGateway.dll"] \ No newline at end of file +ENTRYPOINT ["dotnet", "IoTGateway.dll"]