Skip to content

Commit

Permalink
build(src/knifehub.web/dockerfile): rUN ulimit -c 0
Browse files Browse the repository at this point in the history
  • Loading branch information
yiyungent committed Apr 16, 2023
1 parent 6046273 commit 13bcc97
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/KnifeHub.Web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ RUN dotnet publish "KnifeHub.Web.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
RUN ulimit -c 0
ENTRYPOINT ["dotnet", "KnifeHub.Web.dll"]
1 change: 1 addition & 0 deletions src/KnifeHub.Web/Dockerfile.amd-chrome
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,5 @@ RUN dotnet publish "KnifeHub.Web.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
RUN ulimit -c 0
ENTRYPOINT ["dotnet", "KnifeHub.Web.dll"]
1 change: 1 addition & 0 deletions src/KnifeHub.Web/Dockerfile.amd-full
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,6 @@ COPY --from=build /src/docker/nginx-site.conf /etc/nginx/sites-enabled/default
RUN mkdir /app-nginx
# end nginx

RUN ulimit -c 0
# ENTRYPOINT ["dotnet", "KnifeHub.Web.dll"]
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]

0 comments on commit 13bcc97

Please sign in to comment.