An open API service indexing awesome lists of open source software.

https://github.com/cba85/laravel-render

🌐 Laravel 10 app example for render.com using Docker and Vite
https://github.com/cba85/laravel-render

laravel laravel-10 render

Last synced: 8 months ago
JSON representation

🌐 Laravel 10 app example for render.com using Docker and Vite

Awesome Lists containing this project

README

          

# Laravel render

Laravel app example for [render.com](https://render.com) using Docker.

This guide uses Laravel 10 and is compatible with [Laravel Vite assets bundling](https://laravel.com/docs/10.x/vite).

## Install

Follow [Render.com official guide](https://render.com/docs/deploy-php-laravel-docker)

## Using with Vite

In `scripts/00-laravel-deploy.sh`, uncomment to run `Vite`:

```sh
echo "Running vite..."
npm install
npm run build
```

See https://laravel.com/docs/10.x/vite#running-vite

In `Dockerfile`, uncomment to install `node` and `npm` for `Vite`:

```dockerfile
RUN apk add --update nodejs npm
```