# FROM mileschou/lapis:alpine as wasted.audio FROM openresty/openresty:1.27.1.2-4-alpine-fat ENV LAPIS_VERSION=1.16.0 RUN apk add openssl-dev git 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