AutoGPT-Next-Web icon indicating copy to clipboard operation
AutoGPT-Next-Web copied to clipboard

Create a Huggingface codespace noninteractive Dockerfile

Open ProjectZeroDays opened this issue 9 months ago • 0 comments

Add a new huggingface.Dockerfile for Huggingface codespace noninteractive setup.

  • Base Image: Use FROM python:3.9 as the base image.
  • User Setup: Add a non-root user with useradd -m -u 1000 user, set the user to user, and update the PATH environment variable.
  • Working Directory: Set the working directory to /app.
  • Dependencies: Copy requirements.txt and install dependencies with pip.
  • Application Code: Copy the rest of the application code and set the command to run uvicorn.

For more details, open the Copilot Workspace session.

ProjectZeroDays avatar Jan 27 '25 09:01 ProjectZeroDays