updated
This commit is contained in:
@@ -4,7 +4,7 @@ ENV \
|
|||||||
APP_DIR="/app" \
|
APP_DIR="/app" \
|
||||||
APP_PORT="80"
|
APP_PORT="80"
|
||||||
|
|
||||||
# the "app" directory (relative to Dockerfile) containers your Laravel app...
|
# the "app" directory (relative to Dockerfile) contains your Laravel app...
|
||||||
COPY app/ $APP_DIR
|
COPY app/ $APP_DIR
|
||||||
|
|
||||||
RUN apk add --update \
|
RUN apk add --update \
|
||||||
@@ -18,8 +18,8 @@ RUN apk add --update \
|
|||||||
php-dom \
|
php-dom \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
RUN curl -sS https://getcomposer.org/installer | php -- \
|
# Download and make Composer executable
|
||||||
--install-dir=/usr/bin --filename=composer
|
RUN curl -sS https://getcomposer.org/composer-stable.phar -o /usr/bin/composer && chmod +x /usr/bin/composer
|
||||||
|
|
||||||
RUN cd $APP_DIR && composer install
|
RUN cd $APP_DIR && composer install
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user