blob: 6b9589847bea3815e51fbb8c5bfa5b550f0756b6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
FROM alpine:3.20
RUN apk update && \
apk add --no-cache \
sqlite \
lua5.3 \
lua-posix \
lua-sqlite \
lua-socket \
lua-http \
lua-argparse \
lua5.3-cqueues \
pipx && \
pipx install detect-secrets
ENV HOME=/home/user
RUN set -eux; \
adduser -u 1001 -D -h "$HOME" user; \
chown -R user:user "$HOME"
WORKDIR /home/user/lclipd
COPY ./*.lua ./
RUN chown -R user:user /home/user/lclipd
ENTRYPOINT ["/lclipd/lclipd.lua"]
|