Add test for nginx reverse proxy rule

This commit is contained in:
2025-06-12 15:27:23 -07:00
parent 1e33d2770a
commit 74632be2e1
6 changed files with 38 additions and 34 deletions

View File

@@ -11,8 +11,13 @@ RUN apt-get update && apt-get install -y \
wget -q -O $pkgname $pkgurl && dpkg -i $pkgname && rm $pkgname
RUN luarocks install sitegen
RUN luarocks install busted
RUN luarocks install luajit-curl
# needed for sitegen watcher
RUN luarocks install inotify INOTIFY_INCDIR=/usr/include/x86_64-linux-gnu/
# needed for testing
RUN luarocks install busted
RUN luarocks install luajit-curl
RUN luarocks install luasocket # needed for testing nginx reverse proxy
CMD ["sh", "-c", "openresty -p `pwd` -g 'daemon off;'"]