2025-03-06 19:09:05 -07:00
|
|
|
FROM git.brysonsteck.xyz/brysonsteck/refractr:latest
|
2025-02-17 17:41:21 -07:00
|
|
|
|
2025-03-06 19:09:05 -07:00
|
|
|
# replace "path/" with the path containing your refractr configs
|
|
|
|
COPY path/ /etc/refractr
|
2025-02-17 17:41:21 -07:00
|
|
|
|
2025-03-06 19:09:05 -07:00
|
|
|
# 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
|
2025-02-17 17:41:21 -07:00
|
|
|
|
2025-03-06 19:09:05 -07:00
|
|
|
# add arguments to specify verbosity and configs as needed
|
|
|
|
CMD ["refractr", "-c", "/etc/refractr/config.json"]
|