This commit is contained in:
Logan Cusano
2025-05-24 02:09:35 -04:00
commit f34241acac
7 changed files with 743 additions and 0 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
# Use an official Python runtime as a parent image
FROM python:3.13-slim
# Set the working directory in the container
WORKDIR /app
# Move the requirements file
COPY ./requirements.txt .
# Install any needed packages specified in requirements.txt
# Make sure you have a requirements.txt file in the same directory as your Dockerfile
RUN pip install --no-cache-dir -r requirements.txt
# Copy the current directory contents into the container at /usr/src/app
COPY ./app/ .
# Run bot.py when the container launches
# Use the exec form to avoid issues with signal handling
CMD ["python", "bot.py"]