Unverified Commit 0e1df63c authored by Kroese's avatar Kroese Committed by GitHub
Browse files

feat: Update version file path (#1067)

parent 6ce0ed16
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ RUN set -eu && \
    mv app core vendor package.json ./*.html /usr/share/novnc && \
    unlink /etc/nginx/sites-enabled/default && \
    sed -i 's/^worker_processes.*/worker_processes 1;/' /etc/nginx/nginx.conf && \
    echo "$VERSION_ARG" > /run/version && \
    echo "$VERSION_ARG" > /etc/version && \
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

COPY --chmod=755 ./src /run/
+2 −2
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ if [ -f "/run/.containerenv" ]; then
  fi
fi

echo "❯ Starting $APP for $ENGINE v$(</run/version)..."
echo "❯ Starting $APP for $ENGINE v$(</etc/version)..."
echo "❯ For support visit $SUPPORT"

# Get the capability bounding set
@@ -62,7 +62,7 @@ fi
INFO="/run/shm/msg.html"
PAGE="/run/shm/index.html"
TEMPLATE="/var/www/index.html"
FOOTER1="$APP for $ENGINE v$(</run/version)"
FOOTER1="$APP for $ENGINE v$(</etc/version)"
FOOTER2="<a href='$SUPPORT'>$SUPPORT</a>"

SOCKETS=1