Modify `Dockerfile
` (.NET 8 -> .NET 9)
Modify ``docker-compose.yml``
This commit is contained in:
parent
0cc6057196
commit
a07cc2cf8a
@ -1,5 +1,3 @@
|
|||||||
version: '3.4'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
qtc-net-server:
|
qtc-net-server:
|
||||||
build:
|
build:
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
#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.
|
#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.
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
|
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY ["qtc-net-server/qtc-net-server.csproj", "qtc-net-server/"]
|
COPY ["qtc-net-server/qtc-net-server.csproj", "qtc-net-server/"]
|
||||||
RUN dotnet restore "qtc-net-server/qtc-net-server.csproj"
|
RUN dotnet restore "qtc-net-server/qtc-net-server.csproj"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user