Rebased and going further

This commit is contained in:
Dselen
2024-08-26 13:07:42 -05:00
parent 1d20dc9fcb
commit bc29b89a16
3 changed files with 36 additions and 40 deletions

View File

@@ -18,8 +18,7 @@ ENV update="yes"
# Doing package management operations, such as upgrading
RUN apk update \
&& apk add --no-cache bash git curl tzdata \
wireguard-tools sudo \
py3-pip py3-psutil py3-bcrypt
sudo py3-psutil py3-bcrypt
# Using WGDASH -- like wg_net functionally as a ARG command. But it is needed in entrypoint.sh so it needs to be exported as environment variable.
ENV WGDASH=/opt/wireguarddashboard

View File

@@ -80,17 +80,6 @@ clean_up() {
echo "Removed unneeded logs!"
}
#update_checker() {
#if [ "$update" = "yes" ]; then
# echo "Activating Python venv and executing the WireGuard Dashboard service."
# . "${WGDASH}/src/venv/bin/activate"
# cd "${WGDASH}"/src || exit
# bash wgd.sh update
#else
# echo "Auto Updater disabled"
#fi
#}
# === SET ENV VARS ===
set_envvars() {
printf "\n------------- SETTING ENVIRONMENT VARIABLES ----------------\n"