Skip to content

Commit 2fc4d6b

Browse files
committed
Raise memory limit
1 parent 2793ff7 commit 2fc4d6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ FROM php:7.3-alpine
33
COPY --from=composer:1.8.4 /usr/bin/composer /usr/local/bin/composer
44

55
COPY . /opt/phpdoc
6-
RUN cd /opt/phpdoc && composer install
6+
RUN cd /opt/phpdoc && composer install \
7+
&& echo "memory_limit=1024M" >> /usr/local/etc/php/conf.d/phpdoc.ini
78

89
ENTRYPOINT ["/opt/phpdoc/entrypoint.sh"]
910
CMD ["--help"]

0 commit comments

Comments
 (0)