File size: 421 Bytes
2d27ef4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"]