mirror of
				https://github.com/avatao-content/test-tutorial-framework
				synced 2025-11-04 02:42:56 +00:00 
			
		
		
		
	Prepare controller/Dockerfile for an actual controller
This commit is contained in:
		@@ -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"]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user