Move to Debian 12 and fix Uptime Kuma
This commit is contained in:
@@ -26,6 +26,7 @@ RUN apk add --no-cache \
|
||||
python3 \
|
||||
python3-dev \
|
||||
py3-pip \
|
||||
pipx \
|
||||
sqlite \
|
||||
tzdata \
|
||||
zip \
|
||||
@@ -42,7 +43,7 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then ARCHITECTURE=amd64; e
|
||||
RUN chmod +x /usr/bin/cloudflared
|
||||
|
||||
# install apprise
|
||||
RUN pip install apprise
|
||||
RUN pipx install apprise
|
||||
|
||||
## Setup user and working directory
|
||||
RUN adduser -D -h /home/container container -s /bin/bash container
|
||||
|
@@ -31,6 +31,8 @@ echo -e "${YELLOW}NodeJS Version: ${RED} $(node -v) ${NC}"
|
||||
echo -e "${YELLOW}Cloudflared Version: ${RED} $(/usr/bin/cloudflared --version) ${NC}"
|
||||
echo -e "${BLUE}-------------------------------------------------${NC}"
|
||||
|
||||
export PATH=$PATH:/root/.local/bin
|
||||
|
||||
# Replace Startup Variables
|
||||
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
|
||||
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
||||
|
Reference in New Issue
Block a user