mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-17 12:21:00 -05:00
Update Node.js to 22.1.0 and use its cache feature
This commit is contained in:
parent
51119aff72
commit
1bf0ce0e4b
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,5 +2,6 @@
|
||||
.yarn
|
||||
.pnp.*
|
||||
dist
|
||||
build_cache
|
||||
src/private
|
||||
src/*.json
|
||||
|
@ -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
|
||||
|
@ -7,3 +7,4 @@ services:
|
||||
- ./.git:/Daggerbot/.git:rw
|
||||
- ./src/:/Daggerbot/src/:rw
|
||||
- ./dist/:/Daggerbot/dist/:rw
|
||||
- ./build_cache/:/Daggerbot/build_cache:rw
|
||||
|
Loading…
Reference in New Issue
Block a user