2024-09-22 11:53:42 +10:00
|
|
|
FROM httpd:2.4-alpine
|
2022-08-07 13:37:05 +10:00
|
|
|
|
2024-09-19 21:53:31 +10:00
|
|
|
LABEL "Matthew McKinnon"="<support@comprofix.com>"
|
2022-08-07 13:37:05 +10:00
|
|
|
|
2024-09-22 11:53:42 +10:00
|
|
|
RUN apk update && apk add --no-cache \
|
|
|
|
tzdata \
|
|
|
|
git \
|
|
|
|
php \
|
|
|
|
php-fpm \
|
|
|
|
php-zip \
|
|
|
|
composer \
|
|
|
|
musl-locales musl-locales-lang
|
2022-08-07 13:37:05 +10:00
|
|
|
|
2024-09-22 11:53:42 +10:00
|
|
|
# Set the locale to en_US.UTF-8
|
|
|
|
ENV LANG=en_US.UTF-8
|
|
|
|
ENV LC_ALL=en_US.UTF-8
|
|
|
|
ENV LC_CTYPE=en_US.UTF-8
|
2022-08-07 13:37:05 +10:00
|
|
|
|
|
|
|
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer
|
2024-09-22 11:53:42 +10:00
|
|
|
COPY _site/ /usr/local/apache2/htdocs/
|
2022-08-07 13:37:05 +10:00
|
|
|
|
|
|
|
WORKDIR /
|