summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 18fb23b..749feba 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,9 @@ RUN rm -f /usr/share/nginx/html/index.html /usr/share/nginx/html/50x.html
COPY html /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
+ARG COMMIT=unknown
+RUN printf '%s' "$COMMIT" > /usr/share/nginx/commit
+
EXPOSE 80
CMD ["sh", "-c", "php-fpm84 -D && nginx -g 'daemon off;'"]