Dockerfile 774 B

1234567891011121314151617181920212223242526272829303132
  1. FROM --platform=linux/amd64 registry.fedoraproject.org/fedora-minimal:38-x86_64
  2. LABEL org.opencontainers.image.source https://github.com/OliveTin/OliveTin
  3. LABEL org.opencontainers.image.title=OliveTin
  4. RUN mkdir -p /config /config/entities/ /var/www/olivetin \
  5. && \
  6. microdnf install -y --nodocs --noplugins --setopt=keepcache=0 --setopt=install_weak_deps=0 \
  7. iputils \
  8. openssh-clients \
  9. shadow-utils \
  10. apprise \
  11. jq \
  12. git \
  13. docker \
  14. && microdnf clean all
  15. RUN useradd --system --create-home olivetin -u 1000
  16. EXPOSE 1337/tcp
  17. COPY config.yaml /config
  18. COPY var/entities/* /config/entities/
  19. VOLUME /config
  20. COPY OliveTin /usr/bin/OliveTin
  21. COPY webui /var/www/olivetin/
  22. COPY var/helper-actions/* /usr/bin/
  23. USER olivetin
  24. ENTRYPOINT [ "/usr/bin/OliveTin" ]