1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-22 15:20:09 +01:00

Cleaned up lingering code line.

This commit is contained in:
Daan 2024-06-07 14:55:16 +02:00
parent cf455fc19b
commit bdeb4a4efe

View File

@ -47,7 +47,6 @@ RUN python3 -m venv ${WGDASH}/venv
# Doing WireGuard Dashboard installation measures. # Doing WireGuard Dashboard installation measures.
RUN . ${WGDASH}/venv/bin/activate \ RUN . ${WGDASH}/venv/bin/activate \
&& git clone -b ${dash_ver} https://github.com/donaldzou/WGDashboard.git ${WGDASH}/app \ && git clone -b ${dash_ver} https://github.com/donaldzou/WGDashboard.git ${WGDASH}/app \
&& sed -i '/Restart=always/a\StandardOutput=file:{{APP_ROOT}}/log/log1.log\nStandardError=file:{{APP_ROOT}}/log/log2.log' ${WGDASH}/app/src/wg-dashboard.service \
&& pip3 install -r ${WGDASH}/app/src/requirements.txt \ && pip3 install -r ${WGDASH}/app/src/requirements.txt \
&& chmod +x ${WGDASH}/app/src/wgd.sh \ && chmod +x ${WGDASH}/app/src/wgd.sh \
&& .${WGDASH}/app/src/wgd.sh install && .${WGDASH}/app/src/wgd.sh install