entrypoint / Dockerfile
mesherher's picture
Upload folder using huggingface_hub
2d27ef4 verified
Raw History Blame Contribute Delete
421 Bytes
FROM louislam/uptime-kuma:2
# Install dependencies for HF CLI and cron
RUN apt-get update && \
apt-get install -y --no-install-recommends curl cron && \
rm -rf /var/lib/apt/lists/*
# Install HF CLI
RUN curl -LsSf https://hf.co/cli/install.sh | bash -s
ENV PATH="/root/.local/bin:$PATH"
# Copy entrypoint
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
EXPOSE 3001
ENTRYPOINT ["/entrypoint.sh"]