Skip to content

Commit

Permalink
fix: compose after downloading php sources
Browse files Browse the repository at this point in the history
  • Loading branch information
pifou25 committed Apr 3, 2024
1 parent 679868e commit ebbedc7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@ RUN install-php-extensions\
mbstring mysqli pcntl pdo_mysql \
soap sockets xmlrpc zip gd opcache ssh2

# install composer for dependancies
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
RUN composer install

WORKDIR ${WEBSERVER_HOME}

# copy unzip jeedom source into /webserver
Expand All @@ -92,6 +88,10 @@ RUN mkdir -p ${WEBSERVER_HOME} && \
rm -rf /root/core-* > /dev/null 2>&1 && \
rm /tmp/jeedom.zip

# install composer for dependancies
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
RUN composer install

# Change uid and gid of apache to docker user uid/gid - create /tmp/jeedom
RUN usermod -u 1000 www-data \
&& groupmod -g 1000 www-data \
Expand Down

0 comments on commit ebbedc7

Please sign in to comment.