diff --git a/docker/Dockerfile b/docker/Dockerfile index 2cbf90896..a75fa450b 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -50,7 +50,7 @@ USER morphodict WORKDIR /app/ # Install Python and NodeJS dependencies -ADD Pipfile Pipfile.lock package.json package-lock.json /app/ +ADD --chown=morphodict Pipfile Pipfile.lock package.json package-lock.json /app/ # On Andrew’s linux machine, docker builds were sometimes ridiculously slow # without this option. npm would try to download/install(?) too many packages # all at once and some sort of resource would get exhausted leading to hangs.