mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-12-05 01:41:32 +00:00
Prepare controller/Dockerfile for an actual controller
This commit is contained in:
parent
2f60ddd46a
commit
69721039eb
@ -6,7 +6,7 @@ skills: []
|
||||
owners: ['kristof.toth@avatao.com']
|
||||
crp_config:
|
||||
controller:
|
||||
ports: ["4444/controller"]
|
||||
ports: ["5555/controller"]
|
||||
solvable:
|
||||
capabilities: ["SETUID", "SETGID", "CHOWN", "AUDIT_WRITE", "DAC_OVERRIDE", "KILL"]
|
||||
ports: ["8888/http"]
|
||||
|
@ -1 +1,13 @@
|
||||
FROM avatao/controller:ubuntu-16.04
|
||||
FROM avatao/controller:debian-buster
|
||||
|
||||
USER root
|
||||
ENV PYTHONPATH="/usr/local/lib" \
|
||||
TFW_PUBLISHER_PORT=7654 \
|
||||
TFW_RECEIVER_PORT=8765 \
|
||||
TFW_AUTH_KEY="/tmp/tfw-auth.key" \
|
||||
CONTROLLER_PORT=5555
|
||||
|
||||
RUN pip3 install watchdog transitions
|
||||
COPY ./controller/ /
|
||||
|
||||
CMD ["python3", "/opt/server.py"]
|
||||
|
Loading…
Reference in New Issue
Block a user