Skip to content
Snippets Groups Projects
Dockerfile 621 B
Newer Older
Romain de Laage's avatar
Romain de Laage committed

ARG LUFI_BUILD_VERSION=0.05.2
ARG APP_HOME=/lufi
Romain de Laage's avatar
Romain de Laage committed
RUN apt-get update \
&& apt-get -yq install build-essential libssl-dev libio-socket-ssl-perl liblwp-protocol-https-perl libpq-dev wget unzip \
Romain de Laage's avatar
Romain de Laage committed

RUN wget https://github.com/ldidry/lufi/archive/${LUFI_BUILD_VERSION}.zip && unzip ${LUFI_BUILD_VERSION}.zip \
&& rm ${LUFI_BUILD_VERSION}.zip && mv lufi-${LUFI_BUILD_VERSION} lufi
Romain de Laage's avatar
Romain de Laage committed

Romain de Laage's avatar
Romain de Laage committed

RUN carton install --deployment --without=test --without=sqlite --without=mysql
Romain de Laage's avatar
Romain de Laage committed

Romain de Laage's avatar
v2  
Romain de Laage committed
CMD ["carton", "exec", "hypnotoad", "-f", "/lufi/script/lufi"]
COPY picadrop ${APP_HOME}/themes/picadrop