diff --git a/Dockerfile b/Dockerfile index 4d182e1ad8a35..55cbe2f51f325 100644 --- a/Dockerfile +++ b/Dockerfile @@ -224,6 +224,7 @@ RUN AIRFLOW_SITE_PACKAGE="/root/.local/lib/python${PYTHON_MAJOR_MINOR_VERSION}/s yarn --cwd "${WWW_DIR}" install --frozen-lockfile --no-cache; \ yarn --cwd "${WWW_DIR}" run prod; \ rm -rf "${WWW_DIR}/node_modules"; \ + rm -vf "${WWW_DIR}"/{package.json,yarn.lock,.eslintignore,.eslintrc,.stylelintignore,.stylelintrc,compile_assets.sh,webpack.config.js} ;\ fi # make sure that all directories and files in .local are also group accessible