mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 05:07:50 +02:00
* Cleanup and maintenance * Net-to-serial broadcast messages to all clients This will make all clients to stay in sync with any operation occurring, like when having multiple JMRI instances * Update README and python version in containers
10 lines
230 B
Docker
10 lines
230 B
Docker
FROM python:3.11-alpine
|
|
|
|
RUN mkdir /opt/dcc && pip -q install pyserial
|
|
ADD net-to-serial.py config.ini /opt/dcc
|
|
RUN python3 -q -m compileall /opt/dcc/net-to-serial.py
|
|
|
|
EXPOSE 2560/tcp
|
|
|
|
CMD ["python3", "/opt/dcc/net-to-serial.py"]
|