12 lines
248 B
Docker
12 lines
248 B
Docker
|
FROM python:3.11-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"]
|