Skip to content
Snippets Groups Projects
Commit c5ff290c authored by Kirill Stytsenko's avatar Kirill Stytsenko
Browse files

Use `yarn` for installing dependencies in Dockerfile

yarn pins specific versions: this resolves the issue with the sass-loader version


Former-commit-id: 1b94e86f
parent 76e32ef6
No related branches found
No related tags found
1 merge request!42Fixed the query service tests
......@@ -7,9 +7,10 @@ ENV NODE_ENV=production
WORKDIR /app
COPY ./package.json ./
COPY ./yarn.lock ./
# Install npm dependencies
RUN npm install > /dev/null 2>&1
# Install yarn dependencies
RUN yarn install --frozen-lockfile > /dev/null 2>&1
COPY ./nuxt.config.js ./
COPY ./.env-docker ./.env
......@@ -24,7 +25,6 @@ COPY ./plugins ./plugins
COPY ./server-middleware ./server-middleware
COPY ./static ./static
COPY ./store ./store
COPY ./yarn.lock ./
RUN yarn build > /dev/null
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment