File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -6,20 +6,16 @@ RUN umask 0022
66
77COPY package.json ./
88COPY tsconfig.json ./
9- COPY yarn.lock ./
10- COPY .yarnrc.yml ./
11- COPY .eslintrc.cjs ./
9+ COPY pnpm-lock.yaml ./
10+ COPY eslint.config.mjs ./
1211COPY .env ./
1312COPY src ./src
1413
15- # Yarn build file
16- COPY .yarn/releases/yarn-*.cjs ./.yarn/releases/
17-
1814# Enable corepack
1915RUN chmod 644 .env && sed -i 's/PREFIX=!/PREFIX=$/' .env && corepack enable
2016
2117# build
22- RUN yarn && yarn build
18+ RUN pnpm install && pnpm run build
2319
2420# run
2521CMD [ "node" , "./dist/index.js" ]
Original file line number Diff line number Diff line change 11{
22 "name" : " stonk-bot" ,
3- "version" : " 2.2 .0" ,
3+ "version" : " 2.3 .0" ,
44 "main" : " index.js" ,
55 "license" : " Apache-2.0" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments