wan555 / Dockerfile
Carter-123's picture
Create Dockerfile
395c62d verified
Raw
History Blame Contribute Delete
295 Bytes
FROM python:3.10
# Set working directory to the root of the repo
WORKDIR /app
# Copy everything into the container
COPY . .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Hugging Face Spaces require port 7860
EXPOSE 7860
# Run your app
CMD ["python", "app.py"]