Skip to content

Commit

Permalink
更新dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangYiQiu committed Oct 5, 2024
1 parent 017fa79 commit 017424a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.

FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app

FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY ["TokenPay/TokenPay.csproj", "TokenPay/"]
RUN dotnet restore "TokenPay/TokenPay.csproj"
Expand Down

0 comments on commit 017424a

Please sign in to comment.