Skip to content

Commit 744ad99

Browse files
committed
add packages for yarn
1 parent 55c8ddd commit 744ad99

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.dev/docker/entrypoint.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,10 @@ php artisan db:seed --force
7171
echo -e "Starting cron jobs."
7272
crond -L /var/log/crond -l 5
7373

74+
## install yarn stuff
75+
yarn install --production
76+
yarn add cross-env
77+
yarn run build:production
78+
7479
echo -e "Starting supervisord."
7580
exec "$@"

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM php:7.4-fpm-alpine
22

33
WORKDIR /app
44

5-
RUN apk add --no-cache --update ca-certificates dcron curl git supervisor tar unzip nginx libpng-dev libxml2-dev libzip-dev certbot; \
5+
RUN apk add --no-cache --update ca-certificates dcron curl git supervisor tar unzip nginx libpng-dev libxml2-dev libzip-dev certbot yarn; \
66
docker-php-ext-install bcmath; \
77
docker-php-ext-install gd; \
88
docker-php-ext-install mbstring; \

0 commit comments

Comments
 (0)