Spaces:
Configuration error

chat / Dockerfile
yonkasoft's picture
Update Dockerfile
d0384c0 verified
raw
history blame
451 Bytes
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
FROM python:3.10-bullseye
ADD main.py .
WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY . .
CMD ["uvicorn", "main:app", "--host", "0.0.0.0" , "--port", "8000"]
# Sistem güncellemeleri ve temel bağımlılıkların kurulumu
RUN apt-get update && apt-get install -y \
build-essential \
&& rm -rf /var/lib/apt/lists/*