Add docker scripts
This commit is contained in:
1 parent
839c0ca7b6
commit
f2df4c9b43
5 files changed
+37
No files matched your search
+15
@@ -0,0 +1,15 @@
|
||||
# Use the official Python image
|
||||
FROM python:3.10-slim
|
||||
|
||||
# Set the working directory in the container
|
||||
WORKDIR /gupbot
|
||||
|
||||
# Copy the application code into the container
|
||||
ADD gupbot /gupbot
|
||||
|
||||
# Install required Python packages
|
||||
RUN pip install --no-cache-dir discord.py
|
||||
|
||||
# Command to run your Python script
|
||||
CMD ["python", "gupbot.py"]
|
||||
|
||||
Reference in new issue
Block a user