diff --git a/Dockerfile b/Dockerfile index 571c548..2d5ab58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,8 @@ FROM node:18-alpine AS frontend WORKDIR /app COPY package.json webpack.mix.js postcss.config.js tailwind.config.js ./ -RUN npm install --legacy-peer-deps +# Eliminar lock para que npm respete los overrides de package.json +RUN rm -f package-lock.json && npm install --legacy-peer-deps COPY resources/ resources/ COPY public/ public/ diff --git a/package.json b/package.json index a6ecff8..38940e7 100755 --- a/package.json +++ b/package.json @@ -74,5 +74,8 @@ "flag-icons": "^6.15.0", "lodash": "^4.17.21", "webpack": "^5.95.0" + }, + "overrides": { + "webpack-cli": "4.10.0" } }