|
|
@ -1,4 +1,4 @@
|
|
|
|
FROM php:7.3.11-apache-buster
|
|
|
|
FROM php:7.3.14-apache-buster
|
|
|
|
|
|
|
|
|
|
|
|
ENV COMPOSER_ALLOW_SUPERUSER 1
|
|
|
|
ENV COMPOSER_ALLOW_SUPERUSER 1
|
|
|
|
|
|
|
|
|
|
|
@ -11,9 +11,8 @@ RUN apt-get update && apt-get install -y \
|
|
|
|
&& a2enmod rewrite \
|
|
|
|
&& a2enmod rewrite \
|
|
|
|
&& service apache2 restart \
|
|
|
|
&& service apache2 restart \
|
|
|
|
&& git clone https://github.com/jikan-me/jikan-rest.git . \
|
|
|
|
&& git clone https://github.com/jikan-me/jikan-rest.git . \
|
|
|
|
&& composer install --prefer-dist --no-progress --no-suggest --classmap-authoritative --no-interaction \
|
|
|
|
&& composer install --prefer-dist --no-progress --no-suggest --classmap-authoritative --no-interaction
|
|
|
|
&& git checkout 3e311808a8f6f872c1649f56f616dfeff4c58a06
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ADD .env /run-jikan.sh ./
|
|
|
|
ADD .env run-jikan.sh ./
|
|
|
|
|
|
|
|
|
|
|
|
ENTRYPOINT ["./run-jikan.sh"]
|
|
|
|
ENTRYPOINT ["./run-jikan.sh"]
|