Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid hardcoded UID and GID in docker build
The [Dockerfile](https://github.com/nextstrain/docs.nextstrain.org/blob/1da467787db9a8f9b43724f3c41264fa30ff4db6/Dockerfile) uses `UID` and `GID` args to create a user inside the container. Files are then written during build on behalf of this user, to avoid permission problems. Mistakenly, these variables were both hardcoded to `1000`, which is fine for a single-user Linux host, bot not for macOS. This PR passes `UID` and `GID` from the host system as build args, so that the files are written on behalf of the the current user.
- Loading branch information