1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 05:09:43 +02:00

fix: Fix type of omit flag

This commit is contained in:
Maksim Eltyshev 2022-11-30 03:15:02 +01:00
parent fa2d73a2c5
commit e28c06b85a

View file

@ -5,7 +5,7 @@ WORKDIR /app
COPY server/package.json server/package-lock.json . COPY server/package.json server/package-lock.json .
RUN npm install npm@latest --global \ RUN npm install npm@latest --global \
&& npm clean-install --omit=development && npm clean-install --omit=dev
FROM node:lts AS client FROM node:lts AS client
@ -14,7 +14,7 @@ WORKDIR /app
COPY client/package.json client/package-lock.json . COPY client/package.json client/package-lock.json .
RUN npm install npm@latest --global \ RUN npm install npm@latest --global \
&& npm clean-install --omit=development && npm clean-install --omit=dev
COPY client . COPY client .
RUN DISABLE_ESLINT_PLUGIN=true npm run build RUN DISABLE_ESLINT_PLUGIN=true npm run build