diff --git a/Dockerfile b/Dockerfile index 00edd03..cd0ce9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,12 +64,13 @@ ENV PYTHONPATH="/usr/local/lib/" \ TFW_HISTFILE="/home/${AVATAO_USER}/.bash_history" \ PROMPT_COMMAND="history -a" -RUN echo "shopt -s cmdhist\n" \ - "shopt -s histappend\n" \ - "unset HISTCONTROL\n" \ - "export HISTFILESIZE=1000\n" \ - "export HISTSIZE=1000\n" \ - 'PROMPT_COMMAND="history -a"\n' \ +RUN echo "shopt -s cmdhist\n" \ + "shopt -s histappend\n" \ + "unset HISTCONTROL\n" \ + "export HISTFILE=$TFW_HISTFILE\n" \ + "export HISTFILESIZE=1000\n" \ + "export HISTSIZE=1000\n" \ + 'PROMPT_COMMAND="history -a"\n' \ >> /home/${AVATAO_USER}/.bashrc COPY nginx/nginx.conf ${TFW_NGINX_CONF}