feat(docker): update Dockerfile and compose configuration, enhance README for deployment methods

This commit is contained in:
Ralex
2025-10-25 13:41:29 +02:00
parent 90555891f8
commit 46c43846e9
7 changed files with 198 additions and 76 deletions

View File

@@ -1,4 +1,4 @@
FROM node:24-alpine AS base
FROM node:22-alpine AS base
# Enable and prepare pnpm via Corepack
RUN corepack enable && corepack prepare pnpm@latest --activate
@@ -37,7 +37,7 @@ WORKDIR /app/packages/socket
RUN if [ -f "tsconfig.json" ]; then pnpm build; fi
# ----- RUNNER -----
FROM node:24-alpine AS runner
FROM node:22-alpine AS runner
WORKDIR /app
# Create a non-root user for better security