diff --git a/Dockerfile b/Dockerfile index 80f74f75..7f322e4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,8 @@ FROM continuumio/miniconda3:4.9.2 ARG DEBIAN_FRONTEND=noninteractive ARG USER=user ARG GROUP=user -ARG UID=1000 -ARG GID=1000 +ARG UID +ARG GID ENV TERM="xterm-256color" ENV HOME="/home/user" diff --git a/Makefile b/Makefile index ff75d6ab..85af01b8 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,11 @@ help: .ONESHELL: docker-html: set -euox - docker build -t nextstrain-docs-builder --network=host . + docker build -t nextclade-docs-builder \ + --network=host \ + --build-arg UID=$(shell id -g) \ + --build-arg GID=$(shell id -g) \ + . docker run -it --rm \ --name=nextstrain-docs-builder-$(shell date +%s) \ --init \