Move to Debian 12 and fix Uptime Kuma

This commit is contained in:
Quinten
2024-04-02 15:50:15 +02:00
committed by GitHub
parent e702e788be
commit b3f8b0844a
34 changed files with 56 additions and 53 deletions

View File

@@ -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

View File

@@ -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}"