Dockerfile support
This commit is contained in:
Executable
+13
@@ -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" ]
|
||||||
Executable
+2
@@ -0,0 +1,2 @@
|
|||||||
|
discord.py
|
||||||
|
python-dotenv
|
||||||
Regular → Executable
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
Pillow
|
Pillow
|
||||||
python-Levenshtein
|
python-Levenshtein
|
||||||
|
|||||||
Reference in New Issue
Block a user