add packages for yarn
This commit is contained in:
parent
656d306e24
commit
61c2a491fc
2 changed files with 6 additions and 1 deletions
|
@ -71,5 +71,10 @@ php artisan db:seed --force
|
|||
echo -e "Starting cron jobs."
|
||||
crond -L /var/log/crond -l 5
|
||||
|
||||
## install yarn stuff
|
||||
yarn install --production
|
||||
yarn add cross-env
|
||||
yarn run build:production
|
||||
|
||||
echo -e "Starting supervisord."
|
||||
exec "$@"
|
|
@ -2,7 +2,7 @@ FROM php:7.4-fpm-alpine
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apk add --no-cache --update ca-certificates dcron curl git supervisor tar unzip nginx libpng-dev libxml2-dev libzip-dev certbot; \
|
||||
RUN apk add --no-cache --update ca-certificates dcron curl git supervisor tar unzip nginx libpng-dev libxml2-dev libzip-dev certbot yarn; \
|
||||
docker-php-ext-install bcmath; \
|
||||
docker-php-ext-install gd; \
|
||||
docker-php-ext-install mbstring; \
|
||||
|
|
Loading…
Reference in a new issue