mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2026-02-23 00:56:17 +00:00
fix: 1116
This commit is contained in:
@@ -117,7 +117,8 @@ ENV TZ="Europe/Amsterdam" \
|
||||
WGDASH=/opt/wgdashboard
|
||||
|
||||
# Create directories needed for operation
|
||||
RUN mkdir /data /configs -p ${WGDASH}/src /etc/amnezia/amneziawg
|
||||
RUN mkdir /data /configs -p ${WGDASH}/src /etc/amnezia/amneziawg \
|
||||
&& echo "name_servers=${global_dns}" >> /etc/resolvconf.conf
|
||||
|
||||
# Copy the venv and source files from local compiled locations or repos
|
||||
COPY ./src ${WGDASH}/src
|
||||
|
||||
@@ -255,7 +255,6 @@ start_and_monitor() {
|
||||
|
||||
# Due to resolvconf resetting the DNS we echo back the one we defined (or fallback to default).
|
||||
resolvconf -u
|
||||
echo "nameserver ${global_dns}" >> /etc/resolv.conf
|
||||
|
||||
# Due to some instances complaining about this, making sure its there every time.
|
||||
mkdir -p /dev/net
|
||||
|
||||
Reference in New Issue
Block a user