chore: workflow and docker image tweaks (#11341)

This commit is contained in:
Almeida
2025-12-08 23:15:14 +00:00
committed by GitHub
parent d90a86a048
commit ec76b17be3
14 changed files with 183 additions and 54 deletions

View File

@@ -1,4 +1,4 @@
FROM node:22-alpine AS base
FROM node:24-alpine AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
@@ -12,14 +12,14 @@ RUN corepack install
FROM base AS builder
RUN pnpm install --frozen-lockfile --ignore-scripts
RUN pnpm exec turbo run build --filter='@discordjs/proxy-container...'
RUN pnpm --filter='@discordjs/proxy-container...' install --frozen-lockfile --ignore-scripts
RUN pnpm exec turbo run build --filter='@discordjs/proxy-container...' --output-logs=full
FROM builder AS pruned
RUN pnpm --filter='@discordjs/proxy-container' --prod deploy --legacy pruned
FROM node:22-alpine AS proxy
FROM node:24-alpine AS proxy
WORKDIR /usr/proxy-container

View File

@@ -50,7 +50,7 @@
"tslib": "^2.8.1"
},
"devDependencies": {
"@types/node": "^22.19.1",
"@types/node": "^24.10.1",
"cross-env": "^10.1.0",
"eslint": "^9.39.1",
"eslint-config-neon": "^0.2.9",