mirror of
https://github.com/randyjc/Rahoot.git
synced 2026-03-13 20:15:35 +01:00
feat: improve reconnect, add ESLint configuration for common and socket
This commit is contained in:
@@ -27,6 +27,9 @@ RUN pnpm install --frozen-lockfile
|
||||
|
||||
# Build Next.js app with standalone output for smaller runtime image
|
||||
WORKDIR /app/packages/web
|
||||
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
|
||||
RUN pnpm build
|
||||
|
||||
# Build socket server if needed (TypeScript or similar)
|
||||
@@ -56,6 +59,9 @@ COPY --from=builder /app/packages/web/public ./packages/web/public
|
||||
# Copy the socket server build
|
||||
COPY --from=builder /app/packages/socket/dist ./packages/socket/dist
|
||||
|
||||
# Copy the game default config
|
||||
COPY --from=builder /app/config ./config
|
||||
|
||||
# Expose the web and socket ports
|
||||
EXPOSE 3000 5505
|
||||
|
||||
|
||||
Reference in New Issue
Block a user