Update Dockerfile

This commit is contained in:
dd 2022-03-19 22:40:41 +08:00 committed by GitHub
parent 4cbd443b80
commit e3ed081a59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,10 +4,8 @@ FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
WORKDIR /app WORKDIR /app
EXPOSE 518 EXPOSE 518
EXPOSE 1888 EXPOSE 1888
EXPOSE 62541
RUN apt-get update EXPOSE 503
RUN apt-get install libgdiplus -y
RUN apt-get install nano -y
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /src WORKDIR /src