forked from Sigma-Production/ptero-eggs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
19 lines (13 loc) · 817 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM alpine:latest
FROM php:fpm-alpine
# RUN apk add icu-dev
# RUN docker-php-ext-configure intl && docker-php-ext-install intl
RUN apk --update --no-cache add curl ca-certificates nginx
RUN apk add php8 php8-intl php8-xml php8-exif php8-fpm php8-session php8-soap php8-openssl php8-gmp php8-pdo_odbc php8-json php8-dom php8-pdo php8-zip php8-mysqli php8-sqlite3 php8-pdo_pgsql php8-bcmath php8-gd php8-odbc php8-pdo_mysql php8-pdo_sqlite php8-gettext php8-xmlreader php8-bz2 php8-iconv php8-pdo_dblib php8-curl php8-ctype php8-phar php8-fileinfo php8-mbstring php8-tokenizer php8-simplexml
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
USER container
ENV USER container
ENV HOME /home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD ["/bin/ash", "/entrypoint.sh"]