File size: 378 Bytes
81c3288
 
0d5b8b4
66c3c13
0d5b8b4
 
38e37da
81c3288
 
 
f418898
81c3288
1
2
3
4
5
6
7
8
9
10
11
12
FROM harshmanvar/vllm-cpu-only:v1
WORKDIR /workspace
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 /workspace
COPY requirements.txt /workspace
RUN pip3 install -r requirements.txt
EXPOSE 7860
CMD ["python3", "app.py"]