DS2api / Dockerfile
cjovs's picture
Deploy DS2api Docker Space with bucket-backed runtime
33f27ba verified
raw
history blame contribute delete
242 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir -r requirements.txt
ENV HOST=0.0.0.0
ENV PORT=7860
ENV CONFIG_PATH=/data/config.json
ENV DATA_DB_PATH=/data/data.db
EXPOSE 7860
CMD ["python", "start_hf.py"]