File size: 384 Bytes
81c3c4e
 
 
da7af2a
81c3c4e
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM node:22

# Install packages
RUN apt-get update && apt-get install -y git curl wget jq python3


COPY ./run.sh /run.sh
COPY ./add_bash_util.sh /add_bash_util.sh
COPY ./Caddyfile /Caddyfile
# Expose ports

EXPOSE 7860

HEALTHCHECK --interval=30s --timeout=10s --start-period=5s \
  CMD curl -f http://localhost:7860/ || exit 1
ENTRYPOINT ["/bin/bash", "/run.sh"]
# CMD ["/run.sh"]