mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 09:54:17 +02:00
fix docker build
This commit is contained in:
parent
47cdcaa00b
commit
f78ef384a8
1 changed files with 4 additions and 2 deletions
|
|
@ -11,9 +11,11 @@ FROM icewind1991/php-alpine-apcu
|
|||
COPY --from=build /root/build/parser/target/x86_64-unknown-linux-musl/release/parse_demo /app/parse_demo
|
||||
COPY composer.json composer.lock /app/
|
||||
|
||||
RUN wget https://getcomposer.org/composer.phar \
|
||||
RUN apk add --no-cache git \
|
||||
&& wget https://getcomposer.org/composer.phar \
|
||||
&& php composer.phar --working-dir=/app install --no-dev --no-interaction --ignore-platform-reqs \
|
||||
&& rm composer.phar
|
||||
&& rm composer.phar \
|
||||
&& apk del git
|
||||
|
||||
COPY src /app/src
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue