This commit is contained in:
2020-12-08 11:41:01 +01:00
2 changed files with 6 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
FROM python:3
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["bot.py"]
ENTRYPOINT ["python3"]

4
docker-compose.yml Normal file
View File

@@ -0,0 +1,4 @@
version: "3.8"
services:
bot:
build: .