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

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

No files matched your search

+2 -2
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