Skip to content

Commit

Permalink
feat: add dependencies node and yarn in Dockerfile (#5635)
Browse files Browse the repository at this point in the history
  • Loading branch information
geidsonc committed Oct 27, 2021
1 parent 3f6e8f7 commit 48726b5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS
Expand Up @@ -56,3 +56,4 @@ Markus Dick @markusdick
Jacek Sawoszczuk @jsawo
Dung Nguyen @nhymxu
Krzysztof Rewak @krzysztofrewak
Geidson Benicio @geidsonc
11 changes: 11 additions & 0 deletions scripts/docker/Dockerfile
Expand Up @@ -161,6 +161,17 @@ RUN set -ex; \
composer clear-cache; \
rm -rf .composer

# Install node dependencies
RUN set -ex; \
\
curl -fsSL https://deb.nodesource.com/setup_14.x | bash -; \
apt-get install -y nodejs; \
npm install -g yarn; \
yarn run inst; \
yarn run dev; \
\
rm -rf /var/lib/apt/lists/*

COPY scripts/docker/entrypoint.sh \
scripts/docker/cron.sh \
scripts/docker/queue.sh \
Expand Down

0 comments on commit 48726b5

Please sign in to comment.