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" && \