spaceapi/generator/Dockerfile

19 lines
485 B
Docker
Raw Normal View History

2021-01-03 23:04:07 +01:00
FROM debian:10
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y \
php7.3-cli php-json \
php-pear php-dev \
libmosquitto-dev libmosquitto1 mosquitto-clients \
php-yaml \
locales-all
RUN pecl install Mosquitto-alpha
RUN echo "extension=mosquitto.so" >/etc/php/7.3/mods-available/mosquitto.ini
RUN ln -s /etc/php/7.3/mods-available/mosquitto.ini /etc/php/7.3/cli/conf.d/20-mosquitto.ini
2021-01-04 11:12:51 +01:00
ADD .. /app
2021-01-03 23:04:07 +01:00
VOLUME /app/public
ENTRYPOINT /app/generator.php