miti.sh/Dockerfile

10 lines
277 B
Docker

FROM openresty/openresty:1.27.1.2-0-bookworm-buildpack
WORKDIR /opt/app
RUN apt-get update && apt-get install -y python3-pygments
RUN luarocks install sitegen
CMD ["sh", "-c", "openresty -p `pwd` -g 'daemon off;'"]
# CMD ["openresty", "-p", "/opt/app", "-g", "daemon off;"]