Merge pull request #1613 from ErikFontanel/develop

fixed missing ENV variables
This commit is contained in:
James Cole 2018-08-15 17:15:33 +02:00 committed by GitHub
commit c767ee04f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,9 +5,9 @@ FROM php:7.1-apache
ARG CORES
ENV CORES ${CORES:-1}
ENV FIREFLY_PATH /app
WORKDIR $FIREFLY_PATH
ADD . $FIREFLY_PATH
ENV FIREFLY_PATH /var/www/firefly-iii)
ENV CURL_VERSION 7.60.0
ENV OPENSSL_VERSION 1.1.1-pre6
# install packages
RUN apt-get update -y && \
@ -84,6 +84,10 @@ COPY ./.deploy/docker/apache-firefly.conf /etc/apache2/sites-available/000-defau
# Make sure we own Firefly III directory
RUN chown -R $APPLICATION_GID:$APPLICATION_UID /var/www && chmod -R 775 $FIREFLY_PATH/storage
# Copy in Firefly Source
WORKDIR $FIREFLY_PATH
ADD . $FIREFLY_PATH
# Run composer
ENV COMPOSER_ALLOW_SUPERUSER 1
RUN composer install --prefer-dist --no-dev --no-scripts --no-suggest