17 lines
361 B
Docker
17 lines
361 B
Docker
FROM nickblah/lua:5.4-luarocks-alpine
|
|
|
|
RUN apk add --no-cache openssl-dev gcc musl-dev make libpq git curl wget linux-headers pkgconfig
|
|
|
|
RUN luarocks install lua-cjson
|
|
RUN luarocks install luasocket
|
|
RUN luarocks install pgmoon
|
|
RUN luarocks install redis-lua
|
|
RUN luarocks install luaossl
|
|
|
|
WORKDIR /app
|
|
COPY . /app
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ["lua", "app-standalone.lua"]
|