Commit f94f837 1 parent 2a01e63 commit f94f837 Copy full SHA for f94f837
File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 3
3
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
4
4
WORKDIR /app
5
5
EXPOSE 80
6
- EXPOSE 443
6
+ # EXPOSE 443
7
7
8
8
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
9
9
ARG BUILD_CONFIGURATION=Release
10
- ENV ASPNETCORE_HTTPS_PORTS=443
11
- ENV ASPNETCORE_HTTP_PORTS=80
10
+ ENV ASPNETCORE_URLS=http://+:80
11
+ # ENV ASPNETCORE_HTTPS_PORTS=443
12
+ # ENV ASPNETCORE_HTTP_PORTS=80
12
13
13
14
ADD Ecowitt.Controller/ /src/Ecowitt.Controller
14
15
WORKDIR "/src/Ecowitt.Controller"
15
16
RUN dotnet restore "./Ecowitt.Controller.csproj"
16
- RUN dotnet build "./Ecowitt.Controller.csproj" -c $BUILD_CONFIGURATION -o /app/build
17
+ # RUN dotnet build "./Ecowitt.Controller.csproj" -c $BUILD_CONFIGURATION -o /app/build
17
18
18
19
FROM build AS publish
19
20
ARG BUILD_CONFIGURATION=Release
You can’t perform that action at this time.
0 commit comments