Spaces:
Sleeping
Sleeping
Daniel Idanan commited on
Commit ·
beab71e
1
Parent(s): 74e3f1c
add: Dockerfile for Hugging Face Spaces
Browse files1234567891011121314FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN python -c "from app import init_db; init_db()"
EXPOSE 7860
CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:7860", "--timeout", "120"]DockerfileAdded+14