Hotfix | Dockerfile outdated
This commit is contained in:
parent
d468ee68a4
commit
e3c1c51700
1 changed files with 1 additions and 4 deletions
|
|
@ -1,14 +1,11 @@
|
||||||
FROM python:3.11-slim
|
FROM python:3.11-slim
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Copy requirements and install dependencies
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
# Copy bot file
|
|
||||||
COPY bot.py .
|
COPY bot.py .
|
||||||
|
COPY cogs/ ./cogs/
|
||||||
|
|
||||||
# Run the bot
|
|
||||||
CMD ["python", "bot.py"]
|
CMD ["python", "bot.py"]
|
||||||
Loading…
Reference in a new issue