You've already forked topic-todo-list-bot
mirror of
https://github.com/nh-server/topic-todo-list-bot.git
synced 2026-04-30 11:26:07 -07:00
0f12c10e36
We're no longer using discord-ext-menus, so git is no longer required
16 lines
405 B
Docker
16 lines
405 B
Docker
FROM python:3.11-slim
|
|
ENV IS_DOCKER=1
|
|
ENV PYTHONUNBUFFERED=1
|
|
ENV PYTHONDONTWRITEBYTECODE=1
|
|
ENV HOME /home/intmodmail
|
|
RUN useradd -m -d $HOME -s /bin/sh intmodmail
|
|
WORKDIR $HOME
|
|
COPY ./requirements.txt .
|
|
RUN pip install --no-compile --no-cache-dir -r requirements.txt
|
|
USER intmodmail
|
|
RUN mkdir -p ./data/logs
|
|
RUN touch ./data/logs/main.log
|
|
RUN touch ./data/logs/sql.log
|
|
COPY . .
|
|
CMD ["python3", "main.py"]
|