Upgrade DeviceStatus service to .NET 8 and add OpenTelemetry

This commit is contained in:
2024-01-27 15:57:01 -05:00
parent 7b2a0c2fea
commit d8fd6d13f9
10 changed files with 101 additions and 104 deletions

View File

@@ -1,8 +1,8 @@
FROM mcr.microsoft.com/dotnet/aspnet:6.0-alpine AS base
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base
WORKDIR /app
EXPOSE 80
EXPOSE 8080
FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
WORKDIR /src
COPY ["./Service.csproj", "./"]
RUN dotnet restore "Service.csproj"