Spaces:
Sleeping
Sleeping
Add python symlink (olmes needs python not python3)
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -4,6 +4,9 @@ FROM vllm/vllm-openai:latest
|
|
| 4 |
RUN apt-get update && apt-get install -y --no-install-recommends git && \
|
| 5 |
rm -rf /var/lib/apt/lists/*
|
| 6 |
|
|
|
|
|
|
|
|
|
|
| 7 |
# βββ Install olmes from GitHub (not on PyPI) βββββββββββββββββββββββββββββββββ
|
| 8 |
RUN git clone --depth 1 https://github.com/allenai/olmes.git /tmp/olmes && \
|
| 9 |
pip install --no-cache-dir "/tmp/olmes[gpu]" && \
|
|
|
|
| 4 |
RUN apt-get update && apt-get install -y --no-install-recommends git && \
|
| 5 |
rm -rf /var/lib/apt/lists/*
|
| 6 |
|
| 7 |
+
# βββ Ensure `python` exists (base image only has `python3`) ββββββββββββββββββ
|
| 8 |
+
RUN ln -sf /usr/bin/python3 /usr/bin/python
|
| 9 |
+
|
| 10 |
# βββ Install olmes from GitHub (not on PyPI) βββββββββββββββββββββββββββββββββ
|
| 11 |
RUN git clone --depth 1 https://github.com/allenai/olmes.git /tmp/olmes && \
|
| 12 |
pip install --no-cache-dir "/tmp/olmes[gpu]" && \
|