FIX: updated dockerfile to copy python packages

This commit is contained in:
Elnath 2020-12-29 01:39:11 +01:00
parent 34e8c1b94f
commit f7f899790c
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,10 @@
FROM python:3.7 FROM python:3.7
COPY VocalMaisBot.py requirements.txt /app/
WORKDIR /app WORKDIR /app
COPY requirements.txt ./
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
COPY ./ChannelsConfigFile/ ./ChannelsConfigFile/
COPY ./utils/ ./utils/
COPY VocalMaisBot.py ./
VOLUME ["/app/.token", "/app/channels.json"] VOLUME ["/app/.token", "/app/channels.json"]
ENTRYPOINT /app/VocalMaisBot.py ENTRYPOINT /app/VocalMaisBot.py