Update to Node 20 and Discord.js 14.

Fix empty attachment bug (#61).
This commit is contained in:
charlocharlie
2024-07-20 21:43:20 -05:00
parent 2694169da1
commit 8327775302
12 changed files with 3818 additions and 2536 deletions

View File

@@ -1,7 +1,7 @@
########
# BASE
########
FROM node:16-alpine3.15 as base
FROM node:20-alpine3.20 as base
WORKDIR /usr/app
@@ -16,7 +16,7 @@ FROM base as prodDeps
COPY package*.json ./
# Install build tools for erlpack, then install prod deps only
RUN apk add --no-cache make gcc g++ python3 \
&& npm ci --only=production
&& npm ci --omit=dev
########
# BUILD
@@ -26,7 +26,7 @@ FROM base as build
COPY package*.json ./
# Install build tools for erlpack, then install prod deps only
RUN apk add --no-cache make gcc g++ python3 \
&& npm ci --only=production
&& npm ci --omit=dev
# Copy all jsons
COPY package*.json tsconfig.json ./