Add lua minifier

This commit is contained in:
2022-09-26 01:13:11 +02:00
parent 7a7275cf66
commit cf0be21596
3 changed files with 22 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
FROM archlinux:base-devel AS builder
RUN pacman -Syu npm luarocks just --noconfirm
RUN pacman -Syu npm lua luarocks just --noconfirm
# build frontend
WORKDIR /frontend
@@ -11,6 +11,7 @@ RUN npm install && npm run build
WORKDIR /lua
COPY lua .
RUN luarocks install tl && \
luarocks install dumbluaparser && \
eval $(luarocks path) && \
just build