feat: add dependencies node and yarn in Dockerfile (#5635)
This commit is contained in:
committed by
GitHub
parent
3f6e8f724b
commit
48726b5edf
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user