add packages for yarn
This commit is contained in:
parent
55c8ddd5f2
commit
744ad99283
2 changed files with 6 additions and 1 deletions
|
@ -71,5 +71,10 @@ php artisan db:seed --force
|
||||||
echo -e "Starting cron jobs."
|
echo -e "Starting cron jobs."
|
||||||
crond -L /var/log/crond -l 5
|
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."
|
echo -e "Starting supervisord."
|
||||||
exec "$@"
|
exec "$@"
|
|
@ -2,7 +2,7 @@ FROM php:7.4-fpm-alpine
|
||||||
|
|
||||||
WORKDIR /app
|
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 bcmath; \
|
||||||
docker-php-ext-install gd; \
|
docker-php-ext-install gd; \
|
||||||
docker-php-ext-install mbstring; \
|
docker-php-ext-install mbstring; \
|
||||||
|
|
Loading…
Reference in a new issue