fix: increase upload limits and add CORS middleware
This commit is contained in:
@@ -8,6 +8,9 @@ RUN apt-get update && apt-get install -y \
|
||||
|
||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||
|
||||
RUN echo "upload_max_filesize=100M" > /usr/local/etc/php/conf.d/uploads.ini \
|
||||
&& echo "post_max_size=100M" >> /usr/local/etc/php/conf.d/uploads.ini
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN composer install --no-dev --optimize-autoloader
|
||||
|
||||
Reference in New Issue
Block a user