Spaces:
Sleeping

legion-ai / Dockerfile
Loading404's picture
Update Dockerfile
c5e3a4a verified
Raw History Blame Contribute Delete
269 Bytes
FROM python:3.10-slim
# Set working directory
WORKDIR /code
# Copy files
COPY . /code
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port (Hugging Face expects 7860 by default)
EXPOSE 7860
# Run the app
CMD ["python", "app.py"]