[feature] run survBot in Docker container

- version 0.2-docker
- add Dockerfile
- update paramters.yaml to use logo.png
- update stylesheet to reflect latest changes
- removed survBotGUI.py which is not needed in Docker container
This commit is contained in:
2025-03-20 11:38:54 +01:00
parent 0ce41e5654
commit f4605b146b
8 changed files with 23 additions and 450 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM python:3
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p www
RUN ln -s www/survBot_out.html www/index.html
RUN cp stylesheets/*.css www/
RUN touch logo.png
RUN cp logo.png www/logo.png
CMD [ "python", "./survBot.py", "-html", "www" ]