feat: initial discord meeting bot
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
FROM python:3.13-slim-bookworm
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||
PYTHONUNBUFFERED=1 \
|
||||
PIP_NO_CACHE_DIR=1
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ffmpeg ca-certificates \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt ./requirements.txt
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN useradd -m -u 1000 botuser \
|
||||
&& chown -R botuser:botuser /app
|
||||
|
||||
USER botuser
|
||||
|
||||
CMD ["python", "bot.py"]
|
||||
Reference in New Issue
Block a user