Commit ce1b2db 1 parent e13e840 commit ce1b2db Copy full SHA for ce1b2db
File tree 2 files changed +1
-9
lines changed
2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,12 @@ WORKDIR /app
5
5
EXPOSE 8080
6
6
7
7
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
8
- ARG BUILD_CONFIGURATION=Release
9
- ENV ASPNETCORE_URLS=http://+:8080
10
-
11
8
ADD Ecowitt.Controller/ /src/Ecowitt.Controller
12
9
WORKDIR "/src/Ecowitt.Controller"
13
10
RUN dotnet restore "./Ecowitt.Controller.csproj"
14
- # RUN dotnet build "./Ecowitt.Controller.csproj" -c $BUILD_CONFIGURATION -o /app/build
15
11
16
12
FROM build AS publish
13
+ ENV ASPNETCORE_URLS=http://+:8080
17
14
ARG BUILD_CONFIGURATION=Release
18
15
WORKDIR "/src/Ecowitt.Controller"
19
16
RUN dotnet publish "./Ecowitt.Controller.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
Original file line number Diff line number Diff line change 31
31
<PackageReference Include =" Swashbuckle.AspNetCore" Version =" 6.6.2" />
32
32
</ItemGroup >
33
33
34
- <ItemGroup >
35
- <Compile Remove =" Consumer\ApiDataConsumer.cs" />
36
- <Compile Remove =" Consumer\SubdeviceDataConsumer.cs" />
37
- </ItemGroup >
38
-
39
34
40
35
</Project >
You can’t perform that action at this time.
0 commit comments