Skip to content

Commit

Permalink
fix: npm dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhe4rt committed May 31, 2023
1 parent 43f2751 commit 4f00cd7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docker/prod-ssu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f00cd7

Please sign in to comment.