Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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
|
|
|
|
|
|
|
| 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 .
|