Installation for S&D
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

39 lines
763 B

FROM rcarjan/nginx-php:7.4
LABEL maintainer="Radu Liviu Carjan"
## Make queue log directory
RUN mkdir /var/log/queue
WORKDIR /var/www
## Install libreoffice
RUN apt-get install -y software-properties-common && \
apt-add-repository -y ppa:libreoffice/ppa && \
apt-get install -y \
libreoffice \
supervisor \
sqlite3 \
php7.4-sqlite3
RUN mkdir /var/www/duckling
ADD duckling /var/www/duckling
## Install duckling prerequisites
RUN apt-get update && \
apt-get install -y \
libpcre3 \
libpcre3-dev \
pkg-config \
git
## Change workdir to duckling folder
WORKDIR /var/www/duckling
## Install haskell stack
RUN curl -sSL https://get.haskellstack.org/ | sh
## Install duckling
RUN stack build
WORKDIR ${SERVER_ROOT}