Download Dockerfile from Omkar008/data_processing_openai_trigger: direct link, hf CLI and curl.
- Browser
- Download file 344 Bytes
-
https://huggingface.co/spaces/Omkar008/data_processing_openai_trigger/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Omkar008/data_processing_openai_trigger/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Omkar008/data_processing_openai_trigger/resolve/main/Dockerfile
344 Bytes
| FROM python:3.11.5-slim | |
| WORKDIR /app | |
| COPY . /app | |
| RUN pip install -r requirements.txt | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| # Copy the rest of the application code into the container at /app | |
| COPY --chown=user . /app/ | |
| # Command to run your application | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860" , "--workers" , "5"] |