Initial discord bot
This commit is contained in:
11
bot/Dockerfile
Normal file
11
bot/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM python:3.11.6-alpine
|
||||
|
||||
RUN apk add --no-cache build-base libffi-dev
|
||||
RUN pip install poetry
|
||||
|
||||
WORKDIR /mnt
|
||||
COPY pyproject.toml poetry.lock .
|
||||
RUN poetry install --no-root --only main
|
||||
|
||||
COPY . .
|
||||
ENTRYPOINT ["poetry", "run", "python", "discollama.py"]
|
||||
Reference in New Issue
Block a user