1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-12-25 10:55:37 -05:00

Update Node.js to 22.1.0 and use its cache feature

This commit is contained in:
toast-ts 2024-05-05 17:59:11 +10:00
parent 2454b5ee6f
commit 678aa096a4
3 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -2,5 +2,6 @@
.yarn
.pnp.*
dist
build_cache
src/private
src/*.json

View File

@ -1,6 +1,7 @@
FROM node:22.0.0-alpine3.19
FROM node:22.1.0-alpine3.19
ENV YARN_VERSION 4.2.1
ENV TZ Australia/Sydney
ENV NODE_COMPILE_CACHE /Daggerbot/build_cache
RUN yarn policies set-version $YARN_VERSION
RUN apk update && apk upgrade && apk add --no-cache git fontconfig ttf-dejavu
WORKDIR /Daggerbot

View File

@ -7,3 +7,4 @@ services:
- ./.git:/Daggerbot/.git:rw
- ./src/:/Daggerbot/src/:rw
- ./dist/:/Daggerbot/dist/:rw
- ./build_cache/:/Daggerbot/build_cache:rw