13 lines
341 B
Docker
13 lines
341 B
Docker
# PHP 7.4 for legacy archive compatibility (sites unchanged since ~2010)
|
|
FROM php:7.4-fpm-alpine
|
|
|
|
RUN apk add --no-cache nginx bash
|
|
|
|
COPY php/conf.d/ /usr/local/etc/php/conf.d/
|
|
COPY nginx/conf.d/ /etc/nginx/conf.d/
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
COPY src/ /usr/share/nginx/html/
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|