avactress / Dockerfile
Gemini CLI
Initial commit for Hugging Face Spaces deployment
2685f20
Raw
History Blame Contribute Delete
384 Bytes
FROM python:3.10
WORKDIR /code
# Copy requirements and install dependencies
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
# Copy the rest of the application
COPY . /code
# Expose the port HF Spaces expects
EXPOSE 7860
# Run the application
CMD ["uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "7860"]