Dockerfile support

This commit is contained in:
klemek committed 2021-01-21 11:39:28 +01:00
1 parent fc2dc0e4ed
commit bb265c0a2c
3 files changed
+15

No files matched your search

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
View File
File mode changed.