Spaces:
Build error
Build error
Update Dockerfile
Browse files5 unmodified lines67891011124 unmodified lines17181920212223242526275 unmodified linesapt-get clean && \rm -rf /var/lib/apt/lists/*# Install Docker (required for Kasm's container management)RUN curl -fsSL https://get.docker.com -o get-docker.sh && \sh get-docker.sh && \usermod -aG docker root4 unmodified linestar -xf kasm_release_1.17.0.7f020d.tar.gz# Run the installation script with non-interactive mode# Note: The -N flag is for non-interactive mode, but the script is in kasm_release/ directoryRUN bash kasm_release/install.sh -N# Kasm runs on port 443 by defaultEXPOSE 443# Health checkHEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \5 unmodified lines67891011124 unmodified lines1718192021222324252627285 unmodified linesapt-get clean && \rm -rf /var/lib/apt/lists/*# Install Docker (required for Kasm)RUN curl -fsSL https://get.docker.com -o get-docker.sh && \sh get-docker.sh && \usermod -aG docker root4 unmodified linestar -xf kasm_release_1.17.0.7f020d.tar.gz# Run the installation script with non-interactive mode# Note: Script is in kasm_release/ subdirectory, not directly in /tmpRUN bash kasm_release/install.sh -e noninteractive --admin-password admin123 --user-password user123# Kasm runs on port 443 by default, but Hugging Face requires port 7860# We'll need to configure this or use a reverse proxyEXPOSE 443 7860# Health checkHEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
Dockerfile+6-5