Skip to content

Commit

Permalink
修改.net6 dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
iioter committed Jan 24, 2022
1 parent 30f07f7 commit 3708c04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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/"]
Expand Down

0 comments on commit 3708c04

Please sign in to comment.