aboutsummaryrefslogblamecommitdiffstats
path: root/Dockerfile
blob: 6b9589847bea3815e51fbb8c5bfa5b550f0756b6 (plain) (tree)
1
2
3
4
5
6
7
8
9
                





                          

                  
                    


                                 






                                        
                                 
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"]