DrewDahlman / headless-wordpress

A headless CMS for publishing static JSON for consumption.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker image runs as root

andyfry01 opened this issue · comments

Hi Drew,

Firstly, thank you for putting this together! Really have enjoyed using it so far, found out about the repo from this blog post.

This runs perfectly locally, although actually deploying it to production is proving to be difficult for me. The server set up tasks/installations/etc all have to run as root. Heroku will not run a container as root (docs link here). A link to a good article on the topic

Is there a way to refactor this so these processes don't need to run as root? Or another way to get around the problem? Thank you!