mirror of
https://github.com/FastTunnel/FastTunnel.git
synced 2025-02-08 02:39:29 +08:00
update dockerfile
This commit is contained in:
parent
36708f7621
commit
245be68472
|
@ -1,9 +1,11 @@
|
|||
#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/core/runtime:3.1-buster-slim AS base
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS base
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build
|
||||
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
|
||||
WORKDIR /src
|
||||
COPY ["FastTunnel.Server/FastTunnel.Server.csproj", "FastTunnel.Server/"]
|
||||
COPY ["FastTunnel.Core/FastTunnel.Core.csproj", "FastTunnel.Core/"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user