FROM git.brysonsteck.xyz/brysonsteck/refractr:latest # replace "path/" with the path containing your refractr configs COPY path/ /etc/refractr # use --secret with docker build to specify your ssh key # make sure your configs use the location below RUN --mount=type=secret,id=key,target=/id.pub \ cp /id.pub /etc/refractr && chmod 400 /etc/refractr/id.pub # add arguments to specify verbosity and configs as needed CMD ["refractr", "-c", "/etc/refractr/config.json"]