|
@@ -28,13 +28,13 @@ RUN dotnet publish "./TelpoPush.Worker.ThirdSsl.csproj" -c $BUILD_CONFIGURATION |
|
|
FROM base AS final |
|
|
FROM base AS final |
|
|
WORKDIR /app |
|
|
WORKDIR /app |
|
|
COPY --from=publish /app/publish . |
|
|
COPY --from=publish /app/publish . |
|
|
COPY pem /app/pem |
|
|
|
|
|
|
|
|
COPY pem/app/pem |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ENV environment=Development |
|
|
ENV environment=Development |
|
|
ENV TimeZone=Asia/Shanghai |
|
|
ENV TimeZone=Asia/Shanghai |
|
|
ENV LANG C.UTF-8 |
|
|
ENV LANG C.UTF-8 |
|
|
RUN ln -snf /usr/share/zoneinfo/$TimeZone /etc/localtime && echo $TimeZone > /etc/timezone |
|
|
|
|
|
|
|
|
#RUN ln -snf /usr/share/zoneinfo/$TimeZone /etc/localtime && echo $TimeZone > /etc/timezone |
|
|
|
|
|
|
|
|
#ENTRYPOINT ["dotnet", "TelpoPush.Worker.ThirdSsl.dll"] |
|
|
#ENTRYPOINT ["dotnet", "TelpoPush.Worker.ThirdSsl.dll"] |
|
|
ENTRYPOINT ["sh", "-c", "dotnet TelpoPush.Worker.ThirdSsl.dll --environment=$environment"] |
|
|
ENTRYPOINT ["sh", "-c", "dotnet TelpoPush.Worker.ThirdSsl.dll --environment=$environment"] |