Skip to content

Commit 0280307

Browse files
committed
Fix for .net10 build
1 parent 0c580ca commit 0280307

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging.
22
#docker run -v /opt/bbs:/data:ro -p 8502:8502 ghcr.io/intoinside/retronet-bbs:main
33
# This stage is used to build the service project
4-
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0 AS build
4+
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:10.0 AS build
55

66
ARG BUILD_CONFIGURATION=Release
77
ARG TARGETPLATFORM
@@ -28,7 +28,7 @@ RUN dotnet publish "RetroNET-BBS/RetroNET-BBS.csproj" -c $BUILD_CONFIGURATION -o
2828
EXPOSE 8502
2929
EXPOSE 23
3030

31-
FROM mcr.microsoft.com/dotnet/runtime:9.0 AS base
31+
FROM mcr.microsoft.com/dotnet/runtime:10.0 AS base
3232
WORKDIR /app
3333
USER $APP_UID
3434
FROM base AS final

0 commit comments

Comments
 (0)