Skip to content

Commit 164d4f2

Browse files
authored
Update Containerfile to install more dependencies
1 parent 92b432f commit 164d4f2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

container/Containerfile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,16 @@ USER root
55
RUN useradd -m wljs
66

77
ENV DEBIAN_FRONTEND=noninteractive
8-
RUN apt-get update && apt-get install -y git nginx expect
8+
9+
RUN apt-get update && apt-get install -y \
10+
git \
11+
nginx \
12+
expect \
13+
curl \
14+
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
15+
&& apt-get install -y nodejs \
16+
&& apt-get clean \
17+
&& rm -rf /var/lib/apt/lists/*
918

1019
COPY container/wljs-routes /etc/nginx/sites-available/default
1120
COPY container/proxy-snippet.conf /etc/nginx/snippets/proxy.conf

0 commit comments

Comments
 (0)