Dockerfile support

This commit is contained in:
klemek
2021-01-21 11:39:28 +01:00
parent fc2dc0e4ed
commit bb265c0a2c
3 changed files with 16 additions and 1 deletions
Executable
+13
View File
@@ -0,0 +1,13 @@
FROM python
# Create app directory
WORKDIR /usr/src/app
COPY requirements.* ./
RUN pip install -r requirements.txt && pip install -r requirements.bot.txt
# Bundle app source
COPY . .
CMD [ "sh", "-c", "python -m discord_bot" ]
+2
View File
@@ -0,0 +1,2 @@
discord.py
python-dotenv
Regular → Executable
+1 -1
View File
@@ -1,2 +1,2 @@
Pillow Pillow
python-Levenshtein python-Levenshtein