From 4f00cd72df351aab9fb2ab78b0a02da4bea4fa4b Mon Sep 17 00:00:00 2001 From: danielhe4rt Date: Wed, 31 May 2023 19:01:04 -0300 Subject: [PATCH] fix: npm dependencies --- docker/prod-ssu/Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docker/prod-ssu/Dockerfile b/docker/prod-ssu/Dockerfile index 6561a03..446d17a 100644 --- a/docker/prod-ssu/Dockerfile +++ b/docker/prod-ssu/Dockerfile @@ -14,16 +14,17 @@ RUN composer install --no-dev --no-interaction --no-plugins --no-scripts --prefe COPY --chown=9999:9999 . . RUN composer dump-autoload -COPY --from=static-assets --chown=9999:9999 /app/public/build ./public/build -#COPY --chmod=755 docker/prod-ssu/etc/s6-overlay/ /etc/s6-overlay/ - -RUN php artisan route:cache -RUN php artisan view:cache +#COPY --from=static-assets --chown=9999:9999 /app/public/build ./public/build +COPY --chmod=755 docker/prod-ssu/etc/s6-overlay/ /etc/s6-overlay/ WORKDIR /app RUN npm install RUN npm run build +RUN php artisan route:cache +RUN php artisan view:cache + + RUN echo "alias ll='ls -al'" >>/etc/bash.bashrc RUN echo "alias a='php artisan'" >>/etc/bash.bashrc RUN echo "alias mfs='php artisan migrate:fresh --seed'" >>/etc/bash.bashrc