Custom Plugin : Git Repo Dockerfile

Hi

I have created custom plugin , manually added plugin bur wondering what commands to add for installing my plugin through Docker file.

Currently I am doing following steps manually

cd to myproject
luarocks make *.rockspec

How to have these commands captured in Dockerfile? ex:

RUN apk add --no-cache --virtual .build-deps git \

Any help will be appreciated?