You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 lines
407 B

  1. FROM python:3.11-alpine
  2. COPY codearchiver-bot /app/codearchiver-bot
  3. RUN apk add --no-cache bash coreutils curl git sed zstd
  4. RUN git clone https://gitea.arpa.li/JustAnotherArchivist/little-things.git /app/little-things/ \
  5. && (cd /app/little-things/ && git rev-parse HEAD)
  6. RUN pip install --no-cache-dir codearchiver
  7. VOLUME /data
  8. WORKDIR /data
  9. ENV PATH="/app/little-things:${PATH}"
  10. CMD /app/codearchiver-bot