Skip to content

Commit

Permalink
Added usage npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ActiveChooN committed Oct 27, 2020
1 parent 8697d52 commit d35f472
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ patches and features.
- Install npm packages for UI and start UI debug server (run the following command from CVAT root directory):

```sh
npm install && \
cd cvat-core && npm install && \
cd ../cvat-ui && npm install && npm start
npm ci && \
cd cvat-core && npm ci && \
cd ../cvat-ui && npm ci && npm start
```

> Note for Mac users
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.ui
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ RUN npm config set loglevel info

# Install cvat-data dependencies
WORKDIR /tmp/cvat-data/
RUN npm install
RUN npm ci

# Install cvat-core dependencies
WORKDIR /tmp/cvat-core/
RUN npm install
RUN npm ci

# Install cvat-canvas dependencies
WORKDIR /tmp/cvat-canvas/
RUN npm install
RUN npm ci

# Install cvat-ui dependencies
WORKDIR /tmp/cvat-ui/
RUN npm install
RUN npm ci

# Build source code
COPY cvat-data/ /tmp/cvat-data/
Expand Down
1 change: 0 additions & 1 deletion cvat-ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d35f472

Please sign in to comment.