vllm-test-ui / Dockerfile
harsh-manvar's picture
Update Dockerfile
c9b9eba verified
raw
history blame
345 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 -r requirements.txt
EXPOSE 7860
CMD ["python", "app.py"]