Really-Amazing commited on
Commit
cff6f6c
·
verified ·
1 Parent(s): 6f753ea

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -12,7 +12,9 @@ RUN git clone https://github.com/karpathy/rustbpe.git
12
 
13
  # 2. Install maturin and build the rustbpe package
14
  RUN pip install --no-cache-dir maturin \
15
- && cd rustbpe && maturin develop --release
 
 
16
 
17
  # 3. Install the rest of the requirements
18
  COPY requirements.txt .
 
12
 
13
  # 2. Install maturin and build the rustbpe package
14
  RUN pip install --no-cache-dir maturin \
15
+ && cd rustbpe \
16
+ && maturin build --release --out dist \
17
+ && pip install dist/*.whl
18
 
19
  # 3. Install the rest of the requirements
20
  COPY requirements.txt .