We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 656d306 commit 61c2a49Copy full SHA for 61c2a49
2 files changed
.dev/docker/entrypoint.sh
@@ -71,5 +71,10 @@ php artisan db:seed --force
71
echo -e "Starting cron jobs."
72
crond -L /var/log/crond -l 5
73
74
+## install yarn stuff
75
+yarn install --production
76
+yarn add cross-env
77
+yarn run build:production
78
+
79
echo -e "Starting supervisord."
80
exec "$@"
Dockerfile
@@ -2,7 +2,7 @@ FROM php:7.4-fpm-alpine
2
3
WORKDIR /app
4
5
-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; \
6
docker-php-ext-install bcmath; \
7
docker-php-ext-install gd; \
8
docker-php-ext-install mbstring; \
0 commit comments