capstone_project / Dockerfile
Rakshitjan's picture
Update Dockerfile
e02b53c verified
raw
history blame contribute delete
362 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
# The API key will be injected securely from Hugging Face Secrets
ENV TOGETHER_API_KEY="2aa48b9b987fa3f745dd1862a2063f5fce1ee508c3de1a01c3ec6969d47434e6"
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]