diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..ee85e0a0c --- /dev/null +++ b/.dockerignore @@ -0,0 +1,58 @@ +# Environment config +.env* + +# Runtime +pids +*.pid +*.seed +*.pid.lock + +# Logs +logs +*.log +npm-debug.log* +CHANGELOG.md + +# Mac +*.DS_Store +.AppleDouble +.LSOverride + +# Build +.next + +# Cache +.yarn-cache +.npm +.eslintcache +.changelog + +# Node +node_modules + +# Reports +coverage +reports + +# Git config +.git +.github +.gitignore + +#Editor Config +.editorconfig + +#Docker config +Dockerfile* +docker-compose.yml +.dockerignore + +#Babel config +.babelrc + +#Scalingo config +scalingo.json + +#Other +*.md +LICENSE \ No newline at end of file diff --git a/Dockerfile.dev b/Dockerfile.dev index cb0e41a0d..eee2ecebd 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -3,7 +3,7 @@ FROM node:16.19.0-alpine WORKDIR /app # installing dependencies -COPY package.json yarn.lock . +COPY package.json yarn.lock ./ RUN mkdir public RUN yarn install diff --git a/components/bases-locales/index.js b/components/bases-locales/index.js index 3a2ccf13f..5e74d6400 100644 --- a/components/bases-locales/index.js +++ b/components/bases-locales/index.js @@ -111,9 +111,11 @@ const BasesLocales = React.memo(({stats}) => { -
- -
+ {stats && ( +
+ +
+ )}