mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00

- add james-heinrich/getid3 library as a dependency to composer.json - update DEPENDENCIES.md file - fix episodes table migration script - add js devDependencies: prettier, @prettier/plugin-php and lint-staged to automatically format staged files before commit - reformat all files to the prettier format - refactor code by separating some logic as helper functions - overwrite existing files when uploading new files with the same name fixes #1
20 lines
578 B
Docker
20 lines
578 B
Docker
FROM php:latest
|
|
|
|
COPY . /castopod
|
|
WORKDIR /castopod
|
|
|
|
### Install CodeIgniter's server requirements
|
|
#-- https://github.com/codeigniter4/appstarter#server-requirements
|
|
|
|
# Install intl extension using https://github.com/mlocati/docker-php-extension-installer
|
|
RUN apt-get update && apt-get install -y \
|
|
libicu-dev \
|
|
&& docker-php-ext-install intl
|
|
|
|
RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli
|
|
|
|
RUN echo "file_uploads = On\n" \
|
|
"memory_limit = 100M\n" \
|
|
"upload_max_filesize = 100M\n" \
|
|
> /usr/local/etc/php/conf.d/uploads.ini
|