mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-16 20:00:59 -05:00
Update Node.js to 22.1.0 and use its cache feature
This commit is contained in:
parent
2454b5ee6f
commit
678aa096a4
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,5 +2,6 @@
|
|||||||
.yarn
|
.yarn
|
||||||
.pnp.*
|
.pnp.*
|
||||||
dist
|
dist
|
||||||
|
build_cache
|
||||||
src/private
|
src/private
|
||||||
src/*.json
|
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 YARN_VERSION 4.2.1
|
||||||
ENV TZ Australia/Sydney
|
ENV TZ Australia/Sydney
|
||||||
|
ENV NODE_COMPILE_CACHE /Daggerbot/build_cache
|
||||||
RUN yarn policies set-version $YARN_VERSION
|
RUN yarn policies set-version $YARN_VERSION
|
||||||
RUN apk update && apk upgrade && apk add --no-cache git fontconfig ttf-dejavu
|
RUN apk update && apk upgrade && apk add --no-cache git fontconfig ttf-dejavu
|
||||||
WORKDIR /Daggerbot
|
WORKDIR /Daggerbot
|
||||||
|
@ -7,3 +7,4 @@ services:
|
|||||||
- ./.git:/Daggerbot/.git:rw
|
- ./.git:/Daggerbot/.git:rw
|
||||||
- ./src/:/Daggerbot/src/:rw
|
- ./src/:/Daggerbot/src/:rw
|
||||||
- ./dist/:/Daggerbot/dist/:rw
|
- ./dist/:/Daggerbot/dist/:rw
|
||||||
|
- ./build_cache/:/Daggerbot/build_cache:rw
|
||||||
|
Loading…
Reference in New Issue
Block a user