harsh-manvar commited on
Commit
81c3288
·
verified ·
1 Parent(s): 9dad4e7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -7
Dockerfile CHANGED
@@ -1,12 +1,12 @@
1
- FROM python:3.9-slim
2
- WORKDIR /app
3
  ENV XDG_CACHE_HOME=/app/.cache
4
  ENV MPLCONFIGDIR=/app/.config/matplotlib
5
  RUN mkdir -p /app/.config/matplotlib /app/.cache && \
6
  chmod -R 777 /app/.config /app/.cache
7
  RUN mkdir -p $MPLCONFIGDIR
8
- COPY app.py /app
9
- COPY requirements.txt /app
10
- RUN pip install -r requirements.txt
11
- EXPOSE 7860
12
- CMD ["python", "app.py"]
 
1
+ FROM harshmanvar/vllm-cpu-only:v1
2
+ WORKDIR /workspace
3
  ENV XDG_CACHE_HOME=/app/.cache
4
  ENV MPLCONFIGDIR=/app/.config/matplotlib
5
  RUN mkdir -p /app/.config/matplotlib /app/.cache && \
6
  chmod -R 777 /app/.config /app/.cache
7
  RUN mkdir -p $MPLCONFIGDIR
8
+ COPY app.py /workspace
9
+ COPY requirements.txt /workspace
10
+ RUN pip3 install -r requirements.txt
11
+ EXPOSE 8000
12
+ CMD ["python3", "app.py"]