Skip to content
Snippets Groups Projects
Commit 60a1b97c authored by Дмитрий Сафронов's avatar Дмитрий Сафронов
Browse files

--omit=dev

parent cb8a92ba
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ ARG NPM_TOKEN
WORKDIR /app
COPY package*.json ./
RUN echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc && \
npm ci --only=production && \
npm ci --omit=dev && \
rm -f .npmrc
COPY . .
RUN npm run build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment