diff options
| author | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-07-23 10:01:16 -0700 |
|---|---|---|
| committer | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-07-23 10:02:47 -0700 |
| commit | 8ee2b45b5b889924e91f25f8072dbd584680315e (patch) | |
| tree | 70ecacc0cf04ca1a0987dea3dab0fd7b874ff75f /Dockerfile | |
| parent | 8e09d75db41961ed72b0d12dcb5337049dda77ac (diff) | |
| download | lizdotcoffee-8ee2b45b5b889924e91f25f8072dbd584680315e.tar.gz lizdotcoffee-8ee2b45b5b889924e91f25f8072dbd584680315e.zip | |
Add commit hash
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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;'"] |
