Server Ready

This commit is contained in:
2020-12-08 11:26:56 +01:00
parent 963457f8d8
commit 0cadbfd91c
3 changed files with 8 additions and 0 deletions

View File

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

4
docker-compose.yml Normal file
View File

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

2
requirements.txt Normal file
View File

@@ -0,0 +1,2 @@
discord
python-dotenv