update
Browse files123456717 unmodified lines252627282930313233343536# Multi-stage build for AnyCoder Docker Space# Stage 1: Build frontendFROM node:18-slim AS frontend-builderWORKDIR /build17 unmodified linesFROM python:3.11-slim# Install system dependencies as root (git for pip, nodejs for frontend)RUN apt-get update && \apt-get install -y --no-install-recommends \git \nodejs \npm \&& rm -rf /var/lib/apt/lists/*# Set up a new user named "user" with user ID 1000RUN useradd -m -u 1000 user123456717 unmodified lines252627282930313233343536# Multi-stage build for AnyCoder Docker Space# Stage 1: Build frontendFROM node:22-slim AS frontend-builderWORKDIR /build17 unmodified linesFROM python:3.11-slim# Install system dependencies as root (git for pip, nodejs for frontend)# Install Node.js 22 from NodeSource (Debian repo only has v18)RUN apt-get update && \apt-get install -y --no-install-recommends curl ca-certificates gnupg git && \curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \apt-get install -y --no-install-recommends nodejs && \rm -rf /var/lib/apt/lists/*# Set up a new user named "user" with user ID 1000RUN useradd -m -u 1000 user
Dockerfile+6-6