Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +9 -0
Dockerfile
CHANGED
|
@@ -18,6 +18,15 @@ RUN apk add --no-cache \
|
|
| 18 |
rust \
|
| 19 |
cargo
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
# Install pnpm globally
|
| 22 |
RUN npm install -g pnpm
|
| 23 |
|
|
|
|
| 18 |
rust \
|
| 19 |
cargo
|
| 20 |
|
| 21 |
+
# Remove rust & cargo from apk
|
| 22 |
+
RUN apk add --no-cache bash curl git python3 make build-base libc-dev linux-headers postgresql-dev nodejs npm redis shadow
|
| 23 |
+
|
| 24 |
+
# Install rustup and nightly Rust
|
| 25 |
+
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y \
|
| 26 |
+
&& source $HOME/.cargo/env \
|
| 27 |
+
&& rustup install nightly \
|
| 28 |
+
&& rustup default nightly
|
| 29 |
+
|
| 30 |
# Install pnpm globally
|
| 31 |
RUN npm install -g pnpm
|
| 32 |
|