File tree Expand file tree Collapse file tree 2 files changed +9
-15
lines changed Expand file tree Collapse file tree 2 files changed +9
-15
lines changed Original file line number Diff line number Diff line change 20
20
FROM wger/base:latest AS builder
21
21
ARG DEBIAN_FRONTEND=noninteractive
22
22
23
- RUN apt update \
23
+ RUN wget -O- https://deb.nodesource.com/setup_22.x | bash - \
24
+ && apt update \
24
25
&& apt install --no-install-recommends -y \
25
26
build-essential \
26
27
python3-dev \
@@ -33,18 +34,13 @@ RUN apt update \
33
34
rustc \
34
35
cargo \
35
36
sassc \
36
- && ln -s /usr/bin/sassc /usr/bin/sass
37
-
38
- # Need a newer node than what's in ubuntu
39
- RUN wget -O- https://deb.nodesource.com/setup_22.x | bash - \
40
- && apt-get update \
41
- && apt-get install -y nodejs \
37
+ nodejs \
38
+ && ln -s /usr/bin/sassc /usr/bin/sass \
42
39
&& rm -rf /var/lib/apt/lists/* \
43
40
&& corepack enable
44
41
45
42
# Build the necessary python wheels
46
43
# Note that the --mount is a workaround for https://github.com/rust-lang/cargo/issues/8719
47
- # COPY . /home/wger/src
48
44
WORKDIR /home/wger/src
49
45
50
46
COPY pyproject.toml /home/wger/src
Original file line number Diff line number Diff line change 14
14
FROM wger/base:latest AS builder
15
15
ARG DEBIAN_FRONTEND=noninteractive
16
16
17
- RUN apt update \
17
+ # Need a newer node than what's in ubuntu
18
+ RUN wget -O- https://deb.nodesource.com/setup_22.x | bash - \
19
+ && apt update \
18
20
&& apt install --no-install-recommends -y \
19
21
build-essential \
20
22
python3-dev \
@@ -28,16 +30,12 @@ RUN apt update \
28
30
sassc \
29
31
cargo \
30
32
unzip \
31
- && rm -rf /var/lib/apt/lists/*
32
-
33
- # Need a newer node than what's in ubuntu
34
- RUN wget -O- https://deb.nodesource.com/setup_22.x | bash - \
35
- && apt-get update \
36
- && apt-get install -y nodejs \
33
+ nodejs \
37
34
&& rm -rf /var/lib/apt/lists/* \
38
35
&& corepack enable \
39
36
&& mkdir -p /root/src/wger/core/static
40
37
38
+
41
39
#
42
40
# Build the python wheels
43
41
#
You can’t perform that action at this time.
0 commit comments