Initial Commit
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
# 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"]
|
||||
Reference in New Issue
Block a user