From e2aa7c755c866c5c219f406c9d11fe8c1ff68112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20Bokros?= Date: Mon, 4 Dec 2017 17:01:12 +0100 Subject: [PATCH] Switch hardcoded user to envvar --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 86ba69f..044c553 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,9 @@ RUN apt-get update && \ libreadline-dev \ libsqlite3-dev -USER user +USER ${AVATAO_USER} -COPY .pyenvrc /home/user/.pyenvrc +COPY .pyenvrc /home/${AVATAO_USER}/.pyenvrc ENV PYTHON_VERSION="3.6.3" RUN curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash && \ echo "source $HOME/.pyenvrc" >> "$HOME/.bashrc" && \