koffiwind commited on
Commit
9d57202
·
1 Parent(s): 31ff5b4

add rust to dockerfile

Browse files
Files changed (1) hide show
  1. 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 curl (required for rustup)
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