修改.net6 dockerfile
This commit is contained in:
parent
30f07f7172
commit
3708c04236
@ -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/"]
|
||||
|
Loading…
Reference in New Issue
Block a user