diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 68bb013..683e6f5 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -3,7 +3,7 @@ FROM node:18-alpine as build WORKDIR /app -COPY package*.json ./ +COPY package.json ./ RUN npm install COPY . . @@ -11,6 +11,7 @@ COPY . . # We inject the API URL for production build so nginx serves the correct config ARG REACT_APP_API_URL ENV REACT_APP_API_URL=$REACT_APP_API_URL +ENV DISABLE_ESLINT_PLUGIN=true RUN npm run build