Spaces:
Sleeping

rl-agent / Dockerfile
ShahirDevs's picture
Update Dockerfile
02932aa verified
Raw History Blame Contribute Delete
303 Bytes
# Use Python
FROM python:3.11
# Set working directory
WORKDIR /app
# Copy all files
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port (HuggingFace uses 7860)
EXPOSE 7860
# Run your API
CMD ["uvicorn", "fast:app", "--host", "0.0.0.0", "--port", "7860"]