Mettre à jour 'cachethq/Dockerfile'
This commit is contained in:
parent
f9fe563d41
commit
b0ab198394
|
@ -2,15 +2,15 @@ FROM xataz/nginx-php
|
|||
|
||||
ENV UID=991 GID=991
|
||||
|
||||
COPY rootfs /
|
||||
|
||||
RUN apk -U add git curl \
|
||||
&& git clone --branch v2.3.13 https://github.com/CachetHQ/Cachet.git /cachetHQ \
|
||||
&& cd /cachetHQ \
|
||||
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
&& echo "*** composer install ***" \
|
||||
&& composer install --no-dev \
|
||||
&& echo "*** apk del ***" \
|
||||
&& chmod +x /usr/local/bin/startup \
|
||||
&& apk del git curl \
|
||||
&& rm -rf /var/cache/apk/* /tmp/* /root/.gnupg /root/.cache/ /cachetHQ/.git
|
||||
|
||||
WORKDIR cachetHQ
|
||||
COPY rootfs /
|
||||
WORKDIR cachetHQ
|
Reference in New Issue