vllm-test-ui / Dockerfile
harsh-manvar's picture
Update Dockerfile
0d5b8b4 verified
raw
history blame
360 Bytes
FROM python:3.9-slim
WORKDIR /app
ENV XDG_CACHE_HOME=/app/.cache
ENV MPLCONFIGDIR=/app/.config/matplotlib
RUN mkdir -p /app/.config/matplotlib /app/.cache && \
chmod -R 777 /app/.config /app/.cache
RUN mkdir -p $MPLCONFIGDIR
COPY app.py /app
COPY requirements.txt /app
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 7860
CMD ["python", "app.py"]