From 3708c042360715148beb8f2af221f7962d0b43ce Mon Sep 17 00:00:00 2001 From: dd <535915157@qq.com> Date: Mon, 24 Jan 2022 23:19:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9.net6=20dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9ca4d783..0b5330bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ #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-buster-slim AS base +FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app EXPOSE 518 EXPOSE 1888 @@ -9,7 +9,7 @@ RUN apt-get update RUN apt-get install libgdiplus -y RUN apt-get install nano -y -FROM mcr.microsoft.com/dotnet/sdk:6.0-buster-slim AS build +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src COPY ["IoTGateway/IoTGateway.csproj", "IoTGateway/"]