build(Dockerfile): revised a new CMD
All checks were successful
/ desec-script (push) Successful in 3m25s
All checks were successful
/ desec-script (push) Successful in 3m25s
This commit is contained in:
parent
664289379e
commit
fc56e579a0
2 changed files with 3 additions and 3 deletions
|
|
@ -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"]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,5 +14,3 @@ if [ ! -d venv ]; then
|
||||||
else
|
else
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
fi
|
fi
|
||||||
|
|
||||||
python3 main.py
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue