feat: add dependencies node and yarn in Dockerfile (#5635)

This commit is contained in:
Geidson Benício Coelho
2021-10-27 04:02:57 -03:00
committed by GitHub
parent 3f6e8f724b
commit 48726b5edf
2 changed files with 12 additions and 0 deletions
+11
View File
@@ -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 \