Skip to content

Commit cf1ae60

Browse files
authored
Merge pull request #7164 from topcoder-platform/fix-build
Dockerfile: use ci instead of install
2 parents d885761 + d2bc8b7 commit cf1ae60

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
command: git config --global url."https://git@".insteadOf git://
124124
- run:
125125
name: App npm install
126-
command: npm install
126+
command: npm ci
127127
no_output_timeout: 20m
128128
- save_cache:
129129
key: test-node-modules-{{ checksum "package-lock.json" }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ ENV TOPGEAR_ALLOWED_SUBMISSIONS_DOMAINS=$TOPGEAR_ALLOWED_SUBMISSIONS_DOMAINS
165165

166166
RUN npm config set unsafe-perm true
167167
RUN git config --global url."https://git@".insteadOf git://
168-
RUN npm install
168+
RUN npm ci
169169
RUN npm test
170170
RUN npm run build
171171

0 commit comments

Comments
 (0)