Skip to content

Commit 61ea35d

Browse files
authored
Fix docker:build command for non-Linux OS (#190)
1 parent b644303 commit 61ea35d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/airnode-feed/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"clean": "rm -rf coverage dist",
1717
"dev": "nodemon --ext ts,js,json,env --exec \"pnpm ts-node src/index.ts\"",
1818
"docker:build": "docker build --target airnode-feed --tag api3/airnode-feed:latest ../../",
19-
"docker:build:amd64": "docker buildx build --platform linux/amd64 --tag api3/airnode-feed:latest ../../",
19+
"docker:build:amd64": "docker buildx build --target airnode-feed --platform linux/amd64 --tag api3/airnode-feed:latest ../../",
2020
"docker:run": "docker run -it --init --volume $(pwd)/config:/app/config --network host --env-file .env --rm api3/airnode-feed:latest",
2121
"eslint:check": "eslint . --ext .js,.ts --max-warnings 0",
2222
"eslint:fix": "eslint . --ext .js,.ts --fix",

packages/signed-api/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"clean": "rm -rf coverage dist",
1717
"dev": "nodemon --ext ts,js,json,env --exec \"DEV_SERVER_PORT=${DEV_SERVER_PORT:-8090} pnpm ts-node src/dev-server.ts\"",
1818
"docker:build": "docker build --target signed-api --tag api3/signed-api:latest ../../",
19-
"docker:build:amd64": "docker buildx build --platform linux/amd64 --tag api3/signed-api:latest ../../",
19+
"docker:build:amd64": "docker buildx build --target signed-api --platform linux/amd64 --tag api3/signed-api:latest ../../",
2020
"docker:run": "docker run --publish 8090:80 -it --init --volume $(pwd)/config:/app/config --env-file .env --rm api3/signed-api:latest",
2121
"eslint:check": "eslint . --ext .js,.ts --max-warnings 0",
2222
"eslint:fix": "eslint . --ext .js,.ts --fix",

0 commit comments

Comments
 (0)