13ze commited on
Commit
67fe3ca
·
verified ·
1 Parent(s): c3c499c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -5
Dockerfile CHANGED
@@ -1,11 +1,10 @@
1
  # Use uma imagem base que tenha Python e Node.js
2
  FROM node:14
3
 
4
- # Instale Python e pip
5
- RUN apt-get update && apt-get install -y python3 python3-pip
6
-
7
- # Certifique-se de que pip está no PATH
8
- RUN ln -s /usr/bin/pip3 /usr/bin/pip
9
 
10
  # Crie um diretório de trabalho
11
  WORKDIR /app
 
1
  # Use uma imagem base que tenha Python e Node.js
2
  FROM node:14
3
 
4
+ # Instale Python, pip e o compilador Rust
5
+ RUN apt-get update && apt-get install -y python3 python3-pip curl && \
6
+ curl https://sh.rustup.rs -sSf | sh -s -- -y && \
7
+ . $HOME/.cargo/env
 
8
 
9
  # Crie um diretório de trabalho
10
  WORKDIR /app