1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2025-06-28 07:25:12 +00:00

Prepare controller/Dockerfile for an actual controller

This commit is contained in:
Kristóf Tóth
2018-07-20 14:41:27 +02:00
parent 2f60ddd46a
commit 69721039eb
2 changed files with 14 additions and 2 deletions

View File

@ -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"]