mirror of
https://gitee.com/iioter/iotgateway.git
synced 2024-11-29 18:28:09 +08:00
Update Dockerfile
This commit is contained in:
parent
4cbd443b80
commit
e3ed081a59
@ -4,10 +4,8 @@ FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
|
||||
WORKDIR /app
|
||||
EXPOSE 518
|
||||
EXPOSE 1888
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install libgdiplus -y
|
||||
RUN apt-get install nano -y
|
||||
EXPOSE 62541
|
||||
EXPOSE 503
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
|
||||
WORKDIR /src
|
||||
@ -35,4 +33,4 @@ WORKDIR /app
|
||||
COPY --from=publish /app/publish .
|
||||
|
||||
ENV TZ=Asia/Shanghai
|
||||
ENTRYPOINT ["dotnet", "IoTGateway.dll"]
|
||||
ENTRYPOINT ["dotnet", "IoTGateway.dll"]
|
||||
|
Loading…
Reference in New Issue
Block a user