You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
550 B
Docker
19 lines
550 B
Docker
FROM php:7.3.11-apache-buster
|
|
|
|
ENV COMPOSER_ALLOW_SUPERUSER 1
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
openssl \
|
|
git \
|
|
unzip \
|
|
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
|
&& composer --version \
|
|
&& a2enmod rewrite \
|
|
&& service apache2 restart \
|
|
&& git clone https://github.com/jikan-me/jikan-rest.git . \
|
|
&& composer install --prefer-dist --no-progress --no-suggest --classmap-authoritative --no-interaction
|
|
|
|
ADD .env /run-jikan.sh ./
|
|
|
|
ENTRYPOINT ["./run-jikan.sh"]
|