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.

20 lines
577 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
RUN git clone https://github.com/jikan-me/jikan-rest.git . \
&& composer require 'composer/package-versions-deprecated' \
&& composer install --prefer-dist --no-progress --classmap-authoritative --no-interaction \
&& composer update jikan-me/jikan
ADD .env /run-jikan.sh ./
ENTRYPOINT ["./run-jikan.sh"]