Created
November 30, 2023 16:01
-
-
Save dromer/0d3e7a977d78db0b507c2896248b915d to your computer and use it in GitHub Desktop.
lapis docker container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM openresty/openresty:1.21.4.2-1-alpine-fat | |
ENV LAPIS_VERSION=1.14.0 | |
RUN apk add openssl-dev | |
RUN opm get spacewander/luafilesystem | |
RUN luarocks install luasec | |
RUN luarocks install busted | |
RUN luarocks install --check-lua-versions markov-text | |
RUN luarocks install lapis ${LAPIS_VERSION} | |
RUN luarocks install moonscript | |
WORKDIR /srv/lapis | |
CMD lapis server $ENVIRONMENT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment