Skip to content

Commit abe6988

Browse files
Merge pull request #533 from Ilhasoft/fix/bug-on-remove-user-from-group
Update node version in Dockerfile
2 parents f366b6e + 6c7885b commit abe6988

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

WENI-CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.7.34-rapidpro-10.0.0
2+
----------
3+
* Update node version in Dockerfile
4+
15
1.7.33-rapidpro-10.0.0
26
----------
37
* Remove any reference from weni-rp-apps

docker/Dockerfile

+3-5
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ RUN apt-get update \
3636
&& apt-get install --no-install-recommends --no-install-suggests -y gcc bzip2 git curl nginx libpq-dev gettext \
3737
libgdal-dev python3-cffi python3-gdal vim
3838

39-
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - \
39+
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - \
4040
&& apt-get install --no-install-recommends --no-install-suggests -y nodejs
4141

4242
RUN rm -rf /var/lib/apt/lists/*
@@ -65,10 +65,8 @@ RUN chown -R $PROJECT_USER:$PROJECT_GROUP $PROJECT_PATH
6565

6666
WORKDIR $PROJECT_PATH
6767

68-
RUN su $PROJECT_USER -c "npm install --global \
69-
coffeescript \
70-
less \
71-
yarn"
68+
RUN su $PROJECT_USER -c "npm install --global yarn"
69+
RUN su $PROJECT_USER -c "yarn global add less"
7270

7371
RUN su $PROJECT_USER -c "ln -s $PROJECT_PATH/temba/settings.py.prod $PROJECT_PATH/temba/settings.py"
7472

0 commit comments

Comments
 (0)