Skip to content

Commit ce1b2db

Browse files
committed
i 'effing'hate it :/
1 parent e13e840 commit ce1b2db

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

src/Dockerfile

+1-4
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@ WORKDIR /app
55
EXPOSE 8080
66

77
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
8-
ARG BUILD_CONFIGURATION=Release
9-
ENV ASPNETCORE_URLS=http://+:8080
10-
118
ADD Ecowitt.Controller/ /src/Ecowitt.Controller
129
WORKDIR "/src/Ecowitt.Controller"
1310
RUN dotnet restore "./Ecowitt.Controller.csproj"
14-
# RUN dotnet build "./Ecowitt.Controller.csproj" -c $BUILD_CONFIGURATION -o /app/build
1511

1612
FROM build AS publish
13+
ENV ASPNETCORE_URLS=http://+:8080
1714
ARG BUILD_CONFIGURATION=Release
1815
WORKDIR "/src/Ecowitt.Controller"
1916
RUN dotnet publish "./Ecowitt.Controller.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false

src/Ecowitt.Controller/Ecowitt.Controller.csproj

-5
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,5 @@
3131
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.6.2"/>
3232
</ItemGroup>
3333

34-
<ItemGroup>
35-
<Compile Remove="Consumer\ApiDataConsumer.cs"/>
36-
<Compile Remove="Consumer\SubdeviceDataConsumer.cs"/>
37-
</ItemGroup>
38-
3934

4035
</Project>

0 commit comments

Comments
 (0)