File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Build api using an image with build tools
2- FROM mcr.microsoft.com/dotnet/sdk:6 .0-alpine AS build-env
2+ FROM mcr.microsoft.com/dotnet/sdk:10 .0-alpine AS build-env
33
44WORKDIR /openrct2-api-build
55COPY . ./
@@ -8,7 +8,7 @@ RUN cd src/OpenRCT2.API \
88 && rm /openrct2-api/*.pdb
99
1010# Build lightweight runtime image
11- FROM mcr.microsoft.com/dotnet/runtime-deps:6 .0-alpine
11+ FROM mcr.microsoft.com/dotnet/runtime-deps:10 .0-alpine
1212
1313WORKDIR /openrct2-api
1414COPY --from=build-env /openrct2-api .
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ See instructions at https://www.microsoft.com/net/core
1010## Docker
1111```
1212cd=`pwd`
13- docker pull docker pull mcr.microsoft.com/dotnet/sdk:6 .0
14- docker run -v "$(pwd)":/work -w /work -it -p 5000:80 mcr.microsoft.com/dotnet/sdk:6 .0 bash
13+ docker pull mcr.microsoft.com/dotnet/sdk:10 .0
14+ docker run -v "$(pwd)":/work -w /work -it -p 5000:80 mcr.microsoft.com/dotnet/sdk:10 .0 bash
1515```
1616
1717## Building / Launching
You can’t perform that action at this time.
0 commit comments