Skip to content

Commit

Permalink
add missing php int and memory limit to docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
boxblinkracer committed Nov 13, 2024
1 parent 6828188 commit 1521ed2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion devops/docker_release/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ FROM php:cli
COPY ./phpunuhi.phar /usr/local/bin/phpunuhi
COPY ./run.sh /run.sh

RUN chmod +x /usr/local/bin/phpunuhi
RUN chmod +x /usr/local/bin/phpunuhi \
&& echo "memory_limit=-1" > /usr/local/etc/php/conf.d/memory-limit.ini \
&& apt-get update && apt-get install -y libicu-dev \
&& docker-php-ext-install intl \
&& rm -rf /var/lib/apt/lists/*


WORKDIR /app

Expand Down

0 comments on commit 1521ed2

Please sign in to comment.