Changed around Docker image building and entrypoint.

- Succeeding my tests.
This commit is contained in:
Daan
2024-10-23 22:40:40 +02:00
parent 4ffb00c9f5
commit 83560bc775
3 changed files with 34 additions and 40 deletions

View File

@@ -30,9 +30,9 @@ RUN mkdir -p /setup/conf \
&& mkdir /data
COPY ./src /setup/app/src
# Set the volume to be used for WireGuard configuration persistency.
VOLUME /etc/wireguard
VOLUME ${WGDASH}
# Set the volume to be used for WireGuard configuration persistency. Can be ignored so it does not create volumes when not specified.
#VOLUME /etc/wireguard
#VOLUME /data
# Generate basic WireGuard interface. Echoing the WireGuard interface config for readability, adjust if you want it for efficiency.
# Also setting the pipefail option, verbose: https://github.com/hadolint/hadolint/wiki/DL4006.