[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:
16
Dockerfile
Normal file
16
Dockerfile
Normal 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" ]
|
||||
Reference in New Issue
Block a user