Commit b4a0584
committed
sync package-lock.json; build docker for multiple architectures
We have folks on Apple M1 (arm64) computers who need to run canvas RCE API.
Also changing from "npm install" to "npm ci" to speed up builds and strictly respect the package-lock.json.
The package-lock.json was out of sync with package.json. This commit fixes that too.
refs QUIZ-10725
Test Plan:
* replace your docker-compose.override.yml with this:
version: '3'
services:
web:
image: starlord.inscloudgate.net/jenkins/canvas-rce-api:53.311253.11
volumes:
- .:/usr/src/app
command:
- npm
- run
- start:dev
* this works on both Apple M1 and Apple Intel:
docker-compose up
Change-Id: Ieabc515ae2b9e7c07a89d2470f55115d507e2372
Reviewed-on: https://gerrit.instructure.com/c/canvas-rce-api/+/311253
Tested-by: Service Cloud Jenkins <[email protected]>
Reviewed-by: Yona Appletree <[email protected]>
QA-Review: Yona Appletree <[email protected]>
Product-Review: Jacob DeWar <[email protected]>1 parent 92596ca commit b4a0584
4 files changed
+94
-74
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
0 commit comments