diff --git a/Dockerfile b/Dockerfile index a264278..5a66fd1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,9 +35,9 @@ ENV PYTHONPATH="/usr/local/lib" \ TFW_NGINX_DEFAULT="/etc/nginx/sites-enabled/default" \ TFW_NGINX_COMPONENTS="/etc/nginx/components" \ TFW_LIB_DIR="/usr/local/lib" \ - TFW_TERMINADO_DIR="/tmp/terminado_server" \ TFW_FRONTEND_DIR="/srv/frontend" \ - TFW_SERVER_DIR="/srv/.tfw" \ + TFW_DIR="/.tfw" \ + TFW_SERVER_DIR="/.tfw/tfw_server" \ TFW_AUTH_KEY="/tmp/tfw-auth.key" \ TFW_HISTFILE="/home/${AVATAO_USER}/.bash_history" \ PROMPT_COMMAND="history -a" @@ -74,4 +74,4 @@ ONBUILD RUN test -z "${NOFRONTEND}" && cd /data && yarn install --frozen-lockfil ONBUILD RUN test -z "${NOFRONTEND}" && cd /data && yarn build --no-progress || : ONBUILD RUN test -z "${NOFRONTEND}" && mv /data/dist ${TFW_FRONTEND_DIR} && rm -rf /data || : -CMD exec supervisord --nodaemon +CMD exec supervisord --nodaemon --configuration ${TFW_SUPERVISORD_CONF}