🎉 initial commit
This commit is contained in:
16
devices-api/Dockerfile
Normal file
16
devices-api/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM nickblah/lua:5.4-luarocks-alpine
|
||||
|
||||
RUN apk add --no-cache 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"]
|
||||
Reference in New Issue
Block a user