Spaces:
Sleeping
Sleeping
add rust to dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -15,9 +15,9 @@ ENV UVICORN_WS_PROTOCOL=websockets
|
|
| 15 |
# Set the working directory
|
| 16 |
WORKDIR $HOME/app
|
| 17 |
|
| 18 |
-
# Install
|
| 19 |
USER root
|
| 20 |
-
RUN apt-get update && apt-get install -y curl
|
| 21 |
USER user
|
| 22 |
|
| 23 |
# Install Rust using rustup
|
|
|
|
| 15 |
# Set the working directory
|
| 16 |
WORKDIR $HOME/app
|
| 17 |
|
| 18 |
+
# Install system dependencies (curl and build tools)
|
| 19 |
USER root
|
| 20 |
+
RUN apt-get update && apt-get install -y curl build-essential
|
| 21 |
USER user
|
| 22 |
|
| 23 |
# Install Rust using rustup
|