Works again, sorry, been sleeping
parent
ec69cc79a0
commit
ec61eb1eb4
@ -1,19 +1,19 @@
|
|||||||
FROM php:7.3.11-apache-buster
|
FROM php:7.3.11-apache-buster
|
||||||
|
|
||||||
ENV COMPOSER_ALLOW_SUPERUSER 1
|
ENV COMPOSER_ALLOW_SUPERUSER 1
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
openssl \
|
openssl \
|
||||||
git \
|
git \
|
||||||
unzip \
|
unzip \
|
||||||
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||||
&& composer --version \
|
&& 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 \
|
|
||||||
&& composer update jikan-me/jikan
|
|
||||||
|
|
||||||
ADD .env /run-jikan.sh ./
|
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
|
||||||
|
|
||||||
ENTRYPOINT ["./run-jikan.sh"]
|
ADD .env /run-jikan.sh ./
|
||||||
|
|
||||||
|
ENTRYPOINT ["./run-jikan.sh"]
|
||||||
|
@ -1,6 +1,3 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# allow write permission
|
|
||||||
chmod -R a+w storage/
|
chmod -R a+w storage/
|
||||||
|
php -S 0.0.0.0:8000 -t public
|
||||||
# php:7.3.14-apache-buster ENTRYPOINT
|
|
||||||
docker-php-entrypoint apache2-foreground
|
|
Loading…
Reference in New Issue