From ad108566e102d0596189bb1241f9ac3c466d9e59 Mon Sep 17 00:00:00 2001 From: IGeekFan Date: Sun, 17 Mar 2024 17:38:16 +0800 Subject: [PATCH] Updated Docker container settings and base image --- src/LinCms.Web/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/LinCms.Web/Dockerfile b/src/LinCms.Web/Dockerfile index 2a260945..4107a06b 100644 --- a/src/LinCms.Web/Dockerfile +++ b/src/LinCms.Web/Dockerfile @@ -1,7 +1,5 @@ -#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 -USER app +USER root WORKDIR /app EXPOSE 8080 EXPOSE 8081