From 0e301908646f39e457fcb007a0dd4cf3fc9d7655 Mon Sep 17 00:00:00 2001 From: liushoushan_notebook Date: Thu, 30 Jun 2022 15:56:34 +0800 Subject: [PATCH] test --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cb80d02..268e2b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,10 +41,13 @@ RUN dotnet build "IoTGateway.csproj" -c Release -o /app/build FROM build AS publish RUN dotnet publish "IoTGateway.csproj" -c Release -o /app/publish + + FROM base AS final WORKDIR /app COPY --from=publish /app/publish . ENV TZ=Asia/Shanghai -ENTRYPOINT ["dotnet", "IoTGateway.dll"] +#ENTRYPOINT ["dotnet", "IoTGateway.dll"] #ENTRYPOINT ["ls","-l"] +ENTRYPOINT ["pwd"," "] \ No newline at end of file