File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 1- FROM dunglas/frankenphp
1+ FROM dunglas/frankenphp AS base
22
33RUN apt-get update && apt install -y openjdk-21-jre-headless
44
5+
56RUN install-php-extensions \
67 pcntl
78
9+ FROM base AS builder
10+
11+ RUN apt-get update && apt install -y build-essential pkg-config g++ git cmake yasm
12+
13+ RUN cd / && git clone https://github.com/gpac/gpac.git
14+
15+ RUN apt-get update && apt install -y zlib1g-dev
16+ RUN cd /gpac && ./configure && make
17+
18+
19+ FROM base AS jccp
20+
21+ COPY --from=builder /gpac/bin/gcc/* /usr/bin/
22+
23+
824ENV SERVER_NAME=:80
925COPY . /app
1026
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ services:
33 frankenphp :
44 build :
55 context : .
6+ target : jccp
67 entrypoint : php artisan octane:frankenphp --workers=1 --max-requests=1
78 ports :
89 - " 8000:8000"
You can’t perform that action at this time.
0 commit comments