mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-08-28 15:51:17 +00:00
Rebased and going further
This commit is contained in:
@@ -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
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user