deepseekapi1 / Dockerfile
ahmadalfakeh's picture
Update Dockerfile
d5634b4 verified
raw
history blame contribute delete
424 Bytes
FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
PORT=7860
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential cmake git curl \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt /app/requirements.txt
RUN pip install -r /app/requirements.txt
COPY app.py /app/app.py
EXPOSE 7860
CMD ["python", "-u", "app.py"]