Upload files to "/"

This commit is contained in:
2024-12-02 08:18:47 +00:00
parent 0ae19e4d28
commit d23494777b
4 changed files with 146 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# Use the official Python image
FROM python:3.10-slim
# Set the working directory
WORKDIR /app
# Copy the bot script and requirements file to the working directory
COPY bot.py ./
COPY requirements.txt ./
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose no ports, but needed for convention
EXPOSE 8000
# Command to run the bot
CMD ["python", "bot.py"]