refactor & build: updated desec-ip-sync, might cause breaking change
This commit is contained in:
parent
f3fb099aa0
commit
5964402f81
17 changed files with 576 additions and 136 deletions
16
server/desec-ip-sync/Dockerfile
Executable file
16
server/desec-ip-sync/Dockerfile
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
FROM node:latest
|
||||
|
||||
COPY . /desec
|
||||
|
||||
WORKDIR /desec/server/desec-ip-sync/
|
||||
|
||||
SHELL ["bash", "-c"]
|
||||
|
||||
RUN apt update && apt install python3.11-venv -y
|
||||
|
||||
RUN bash run.bash
|
||||
|
||||
ENV PATH="/desec/server/desec-ip-sync/venv/bin:$PATH"
|
||||
|
||||
CMD ["python3", "main.py"]
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue