|
|
@@ -6,12 +6,11 @@ RUN apt-get update && apt-get install apt-transport-https
|
|
6
|
6
|
RUN apt-get install -y libjpeg62 libjpeg62-turbo-dev zlib1g-dev gettext entr
|
|
7
|
7
|
RUN \
|
|
8
|
8
|
echo "Installing Node and Yarn" && \
|
|
9
|
|
- echo "deb https://deb.nodesource.com/node_8.x jessie main" > /etc/apt/sources.list.d/nodesource.list && \
|
|
10
|
|
- wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
|
|
|
9
|
+ curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
|
|
11
|
10
|
echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list && \
|
|
12
|
11
|
wget -qO- https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
|
13
|
12
|
apt-get update && \
|
|
14
|
|
- apt-get install -yqq nodejs yarn npm && \
|
|
|
13
|
+ apt-get install -yqq nodejs yarn && \
|
|
15
|
14
|
npm install -g nodemon && \
|
|
16
|
15
|
rm -rf /var/lib/apt/lists/*
|
|
17
|
16
|
WORKDIR /code
|