Compare commits

..

2 Commits

Author SHA1 Message Date
a
b414deb3bc update dockerfile 2022-09-26 19:25:11 -05:00
a
1ae87d4955 update readme 2022-09-26 19:20:34 -05:00
2 changed files with 10 additions and 6 deletions

View File

@ -17,8 +17,6 @@ COPY --from=deb_extractor /dpkg /
# Configure dot plugins
RUN ["dot", "-c"]
# Use a non-root user: slightly more secure (defense in depth)
USER nobody
WORKDIR /
EXPOSE 7443
ENTRYPOINT ["/pprofweb"]

View File

@ -1,16 +1,22 @@
# PProf Web UI
This is a hacky experiment that serves the [Go pprof profiler web UI](https://github.com/google/pprof). You can upload pprof files then view them without installing anything. See [my blog post for some additional details](https://www.evanjones.ca/pprofweb.html).
[Go pprof profiler web UI](https://github.com/google/pprof).
Try it: https://pprofweb.evanjones.ca/
You can upload pprof files then view them without installing anything.
you can also share these profiles with other people
Try it: https://pprof.aaaaa.news
## Run Locally
docker build . --tag=pprofweb
docker run --rm -ti --publish=127.0.0.1:8080:8080 pprofweb
docker run --rm -ti -p 7443:7443 pprofweb
Open http://localhost:8080/
Open http://localhost:7443/
## Check that the container works