mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
use lockfile during docker build
This commit is contained in:
parent
5dc07c31d8
commit
05b6a60caa
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ RUN cargo build --release --target=x86_64-unknown-linux-musl
|
||||||
FROM icewind1991/php-alpine-apcu
|
FROM icewind1991/php-alpine-apcu
|
||||||
|
|
||||||
COPY --from=build /root/build/parser/target/x86_64-unknown-linux-musl/release/parse_demo /app/parse_demo
|
COPY --from=build /root/build/parser/target/x86_64-unknown-linux-musl/release/parse_demo /app/parse_demo
|
||||||
COPY composer.json /app
|
COPY composer.json composer.lock /app/
|
||||||
|
|
||||||
RUN wget https://getcomposer.org/composer.phar \
|
RUN wget https://getcomposer.org/composer.phar \
|
||||||
&& php composer.phar --working-dir=/app install --no-dev --no-interaction --ignore-platform-reqs \
|
&& php composer.phar --working-dir=/app install --no-dev --no-interaction --ignore-platform-reqs \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue