Update Dockerfile
Browse files- 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
|
5 |
-
RUN apt-get update && apt-get install -y python3 python3-pip
|
6 |
-
|
7 |
-
|
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
|