Dockerfile 540 B

123456789101112131415
  1. FROM alpine:latest
  2. LABEL maintainer="fred.damstra@gmail.com"
  3. LABEL version="0.1"
  4. LABEL description="Docker image that sorts my midjourney albums"
  5. RUN echo -e "search default.svc.cluster.local svc.cluster.local cluster.local\nnameserver 10.152.183.10\noptions ndots:2" > /etc/resolv.conf
  6. RUN apk add --no-cache bash bash-completion rsync
  7. COPY . /opt/midjourney/
  8. RUN chmod 755 /opt/midjourney/sort_and_upload.sh \
  9. && chmod 755 /opt/midjourney/bin/gdrive \
  10. && mkdir /scratch \
  11. && mkdir /shared
  12. CMD ["/opt/midjourney/sort_and_upload.sh"]