ouhenio commited on
Commit
9cbb2a1
Β·
1 Parent(s): 2c70552

Add python symlink (olmes needs python not python3)

Browse files
Files changed (1) hide show
  1. 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]" && \