mirror of
https://github.com/randyjc/Rahoot.git
synced 2026-11-04 08:05:35 +01:00
feat(docker): update Dockerfile and compose configuration, enhance README for deployment methods
This commit is contained in:
1 parent
90555891f8
commit
46c43846e9
7 files changed
+198
-76
No files matched your search
+2
-2
@@ -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