Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -10
Dockerfile
CHANGED
|
@@ -1,15 +1,9 @@
|
|
| 1 |
-
FROM
|
| 2 |
|
| 3 |
WORKDIR /workspace/
|
| 4 |
-
ENV PYTHONPATH /workspace/
|
| 5 |
-
COPY requirements.txt /workspace/
|
| 6 |
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
pip install vllm>=0.4.3 && \
|
| 10 |
-
pip install --no-cache-dir -r /workspace/requirements.txt && \
|
| 11 |
-
pip uninstall transformer-engine -y && \
|
| 12 |
-
git clone https://github.com/xusenlinzy/api-for-open-llm.git
|
| 13 |
|
| 14 |
-
CMD python api
|
| 15 |
|
|
|
|
| 1 |
+
FROM ghcr.io/gordonchanfz/open-model-api-adapt:latest
|
| 2 |
|
| 3 |
WORKDIR /workspace/
|
|
|
|
|
|
|
| 4 |
|
| 5 |
+
RUN pip install vllm>=0.4.3 && \
|
| 6 |
+
pip uninstall transformer-engine -y
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
+
CMD python api/server.py
|
| 9 |
|