added build instructions for Docker image
This commit is contained in:
parent
f05052c32f
commit
0b382bc76e
|
@ -0,0 +1,13 @@
|
|||
FROM python:3.7
|
||||
COPY requirements.txt /
|
||||
RUN pip install -r /requirements.txt
|
||||
COPY conductor/ /app/conductor
|
||||
COPY pyexecplugins/ /app/pyexecplugins
|
||||
COPY pyrest.py /app
|
||||
COPY pyexec.py /app
|
||||
COPY config.cfg /app
|
||||
COPY setup.py /app
|
||||
COPY entrypoint.sh /app
|
||||
RUN chmod 755 /app/entrypoint.sh
|
||||
WORKDIR /app
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
python3 pyrest.py &
|
||||
python3 pyexec.py
|
|
@ -0,0 +1,2 @@
|
|||
requests >= 2.19.1
|
||||
|
Loading…
Reference in New Issue