mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 13:35:42 +00:00
docker: add container websocket in docker-compose
This commit is contained in:
14
WebSocketServer/Dockerfile
Normal file
14
WebSocketServer/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get install -y git && apt-get clean
|
||||
|
||||
RUN git clone https://github.com/welton89/websocket-RRBEC.git /app
|
||||
|
||||
RUN pip install --upgrade pip && pip install websockets
|
||||
|
||||
EXPOSE 8765
|
||||
|
||||
CMD ["python", "websocket_server.py"]
|
||||
Reference in New Issue
Block a user