zai-proxy / Dockerfile
bluewinliang's picture
Create Dockerfile
91494d5 verified
raw
history blame contribute delete
325 Bytes
FROM python:3.10-slim
WORKDIR /app
RUN apt-get update && \
apt-get install -y git && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/snailyp/zai-proxy.git /app
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 7860
CMD uvicorn main:app --host 0.0.0.0 --port ${PORT:-7860}