diff --git a/Dockerfile b/Dockerfile index 97e7759..3e451e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -62,7 +62,12 @@ ENV PYTHONPATH="/usr/local/lib/" \ TFW_TERMINADO_DIR="/tmp/terminado_server" \ TFW_FRONTEND_DIR="/srv/frontend" \ TFW_HISTFILE="/home/${AVATAO_USER}/.bash_history" \ - PROMPT_COMMAND="history -a" + PROMPT_COMMAND="history -a" \ + HISTFILESIZE=1000 \ + HISTSIZE=1000 + +RUN sudo -u ${AVATAO_USER} bash -c 'shopt -s cmdhist' &&\ + sudo -u ${AVATAO_USER} bash -c 'shopt -s histappend' COPY nginx/nginx.conf ${TFW_NGINX_CONF} COPY nginx/components/ ${TFW_NGINX_COMPONENTS}