build(Dockerfile): revised a new CMD
All checks were successful
/ desec-script (push) Successful in 3m25s

This commit is contained in:
devaine 2026-03-06 00:48:09 -06:00
commit fc56e579a0
Signed by: devaine
GPG key ID: 954B1DCAC6FF84EE
2 changed files with 3 additions and 3 deletions

View file

@ -6,5 +6,7 @@ WORKDIR /desec/server-scripts/desec-ip-sync/
RUN apt update && apt install python3.11-venv -y RUN apt update && apt install python3.11-venv -y
CMD ["bash", "run.bash"] RUN bash run.bash
CMD ["python3", "main.py"]

View file

@ -14,5 +14,3 @@ if [ ! -d venv ]; then
else else
source venv/bin/activate source venv/bin/activate
fi fi
python3 main.py