Netflix / dispatch-docker

Apache License 2.0
206 stars 87 forks source link

Serving static assets from dispatch-docker #109

Closed rvandegrift closed 3 years ago

rvandegrift commented 3 years ago

The dispatch installation instructions suggest using dispatch-docker to install. If also suggests serving static assets from a reverse proxy. But the dispatch-docker build doesn't produce static assets outside of the containers that I can serve.

Here's my current workaround:

$ sudo mkdir /srv/dispatch/static
$ sudo docker exec dispatch_web_1 sh -c 'cd /usr/local/lib/python3.8/site-packages/dispatch/static/dispatch/dist && tar cvf - .' | sudo tar xvf - -C /srv/dispatch/static/

It'd be great if there was a better solution!

github-actions[bot] commented 3 years ago

This issue is stale, because it has been open for 30 days with no activity. Remove the stale label or comment, or this will be closed in 5 days.

github-actions[bot] commented 3 years ago

This issue was closed, because it has been stalled for 5 days with no activity.