update
Browse files1234456717 unmodified lines2526272829293031323330313233343536# Multi-stage build for AnyCoder Docker Space
# Stage 1: Build frontendFROM node:18-slim AS frontend-builderFROM node:22-slim AS frontend-builder
WORKDIR /build
17 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 \ git \ nodejs \ npm \ && rm -rf /var/lib/apt/lists/* 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 userDockerfile+6-6