comprofix.com/Dockerfile
Matthew McKinnon c4fc730220
Some checks failed
/ build-node (push) Successful in 1m20s
/ publish (push) Failing after 7s
fix: set docker image to alpine
2024-09-22 11:53:42 +10:00

23 lines
443 B
Docker

FROM httpd:2.4-alpine
LABEL "Matthew McKinnon"="<support@comprofix.com>"
RUN apk update && apk add --no-cache \
tzdata \
git \
php \
php-fpm \
php-zip \
composer \
musl-locales musl-locales-lang
# 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
COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer
COPY _site/ /usr/local/apache2/htdocs/
WORKDIR /