Spaces:
Build error
Build error
Rename Dockesrfile to Dockerfile
Browse files- Dockesrfile → Dockerfile +4 -2
Dockesrfile → Dockerfile
RENAMED
|
@@ -16,9 +16,12 @@ RUN apt-get update && apt-get install -y \
|
|
| 16 |
cmake \
|
| 17 |
rsync \
|
| 18 |
libgl1-mesa-glx \
|
| 19 |
-
rustc \
|
| 20 |
&& rm -rf /var/lib/apt/lists/*
|
| 21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
# Install Node.js (for some Hugging Face tools)
|
| 23 |
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
| 24 |
apt-get install -y nodejs && \
|
|
@@ -50,4 +53,3 @@ USER user
|
|
| 50 |
|
| 51 |
# Command to run your app (if it is a Python script or web server)
|
| 52 |
# CMD ["python", "app.py"] # Modify as per your app
|
| 53 |
-
|
|
|
|
| 16 |
cmake \
|
| 17 |
rsync \
|
| 18 |
libgl1-mesa-glx \
|
|
|
|
| 19 |
&& rm -rf /var/lib/apt/lists/*
|
| 20 |
|
| 21 |
+
# Install Rust compiler (required for tokenizers)
|
| 22 |
+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
|
| 23 |
+
export PATH=$PATH:$HOME/.cargo/bin
|
| 24 |
+
|
| 25 |
# Install Node.js (for some Hugging Face tools)
|
| 26 |
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
| 27 |
apt-get install -y nodejs && \
|
|
|
|
| 53 |
|
| 54 |
# Command to run your app (if it is a Python script or web server)
|
| 55 |
# CMD ["python", "app.py"] # Modify as per your app
|
|
|