mirror of
https://github.com/randyjc/Rahoot.git
synced 2026-03-13 20:15:35 +01:00
feat(docker): update Dockerfile and compose configuration, enhance README for deployment methods
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user