forked from web3p/web3.php
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1d47285
commit cc7d01e
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM php:8.0-alpine | ||
|
||
MAINTAINER Peter Lai <[email protected]> | ||
|
||
COPY composer-setup.php composer-setup.php | ||
# COPY php.ini-production $PHP_INI_DIR/php.ini | ||
|
||
RUN apk update && \ | ||
apk add git | ||
|
||
# Install gmp | ||
Run apk add gmp-dev && \ | ||
docker-php-ext-install gmp | ||
|
||
# Install nodejs | ||
# Run apk add --update nodejs nodejs-npm | ||
|
||
# Install composer | ||
RUN php composer-setup.php && \ | ||
php composer-setup.php --install-dir=/usr/bin --filename=composer && \ | ||
php -r "unlink('composer-setup.php');" | ||
|
||
WORKDIR /app |