Skip to content

Commit c8c032b

Browse files
Ajouter python3 et build-essential à l'image Docker
1 parent 015e0df commit c8c032b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ RUN yarn install \
1616
--non-interactive \
1717
--production=false
1818

19-
RUN apt-get update -y \
20-
&& apt-get install -y python3
21-
2219
RUN yarn run build
2320

2421
FROM node:18-bookworm-slim AS production
@@ -51,7 +48,9 @@ RUN apt clean -y \
5148
git \
5249
jq \
5350
nano \
54-
openssl
51+
openssl \
52+
python3 \
53+
build-essential
5554

5655
RUN yarn install \
5756
--prefer-offline \

0 commit comments

Comments
 (0)