Skip to content

Commit 6908be1

Browse files
committed
chore/fix: github actions
1 parent 45203cb commit 6908be1

File tree

3 files changed

+14
-16
lines changed

3 files changed

+14
-16
lines changed

.dockerignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.bak
22
.dockerignore
3-
.gitingore
3+
.gitignore
44
.npmignore
55
.solhint.json
66
.solhintignore
@@ -12,4 +12,5 @@ dist/
1212
docker/
1313
node_modules/
1414
**/.env
15+
**/*.md
1516
**/*.tgz

docker/randomizer/Dockerfile

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
FROM node:24-alpine AS base
2-
3-
WORKDIR /app
1+
FROM node:24-bookworm AS base
42

3+
RUN apt update && apt upgrade -y
4+
RUN apt install build-essential;
55
RUN npm install -g pnpm
6+
RUN npm install -g node-gyp
67

7-
COPY migrations/ /app/migrations
8-
COPY scripts/ /app/scripts
9-
COPY src/ /app/src
10-
COPY .no-postinstall /app
11-
COPY hardhat.config.js /app
12-
COPY package.json /app
13-
COPY truffle-config.cjs /app
14-
COPY tsconfig.json /app
15-
COPY pnpm-lock.yaml /app
8+
WORKDIR /app
9+
COPY . /app
1610

1711
RUN pnpm install --frozen-lockfile
1812

13+
RUN chmod +x src/bin/index.cjs
14+
RUN chmod +x src/bin/bots/*
15+
1916
CMD ["node", "/app/src/bin/bots/randomizer.cjs"]

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@witnet/solidity",
3-
"version": "3.0.14",
3+
"version": "3.0.15",
44
"description": "Wit/Oracle Solidity Framework for EVM-compatible chains",
55
"author": "Witnet Foundation <[email protected]>",
66
"license": "MIT",
@@ -130,7 +130,7 @@
130130
"@apollo/protobufjs",
131131
"@trufflesuite/bigint-buffer",
132132
"@witnet/sdk",
133-
"bufferutil",
133+
"buffer-util",
134134
"core-js",
135135
"es5-ext",
136136
"esbuild",
@@ -139,7 +139,7 @@
139139
"protobufjs",
140140
"secp256k1",
141141
"truffle",
142-
"utf-8-validate",
142+
"utf-8-validate",
143143
"web3",
144144
"web3-bzz",
145145
"web3-shh"

0 commit comments

Comments
 (0)