14 lines
301 B
Docker
14 lines
301 B
Docker
FROM nickblah/lua:5.4-luarocks-alpine
|
|
|
|
RUN apk add --no-cache gcc musl-dev make libpq git curl procps linux-headers pkgconfig
|
|
|
|
RUN luarocks install lua-cjson
|
|
RUN luarocks install luasocket
|
|
RUN luarocks install pgmoon
|
|
RUN luarocks install redis-lua
|
|
|
|
WORKDIR /app
|
|
COPY . /app
|
|
|
|
CMD ["lua", "worker.lua"]
|