Skip to content

Commit 9de5fbe

Browse files
Fix wizard docker image
1 parent 1819bf6 commit 9de5fbe

1 file changed

Lines changed: 4 additions & 12 deletions

File tree

wizard/Dockerfile

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
1-
FROM python:2.7 as builder
2-
RUN apt-get update
3-
4-
# Is optional, but if you are not going to use this then you will need to install
5-
# 'gnupg' for nodesource so it can setup node install
6-
RUN apt-get install -y build-essential python make gcc g++ curl
7-
8-
# The next 2 steps will install node
9-
RUN curl -sL https://deb.nodesource.com/setup_15.x | bash -
10-
11-
RUN apt-get install -y nodejs
1+
FROM node:18-bullseye as builder
2+
RUN apt-get update && \
3+
apt-get install -y build-essential python3 make gcc g++ curl && \
4+
rm -rf /var/lib/apt/lists/*
125

136
# The next step is for installing yarn
14-
157
RUN npm install -g yarn
168

179
WORKDIR /app

0 commit comments

Comments
 (0)