discollama/Dockerfile

12 lines
251 B
Docker
Raw Normal View History

2024-05-10 11:40:32 -07:00
FROM python:3.11.9-alpine
2023-10-09 16:59:22 -07:00
RUN apk add --no-cache build-base libffi-dev
RUN pip install poetry
WORKDIR /mnt
2024-05-10 11:41:45 -07:00
COPY pyproject.toml poetry.lock ./
2023-10-09 16:59:22 -07:00
RUN poetry install --no-root --only main
COPY . .
ENTRYPOINT ["poetry", "run", "python", "discollama.py"]