blob: 9b8e4e9788421948290aa9a06f02a7712031a096 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
FROM --platform=linux/amd64 ghcr.io/owl-corp/python-poetry-base:3.13-slim
# Install dependencies
WORKDIR /bot
COPY pyproject.toml poetry.lock ./
RUN poetry install --only main
# Set SHA build argument
ARG git_sha="development"
ENV GIT_SHA=$git_sha
# Copy the rest of the project code
COPY . .
# Start the bot
ENTRYPOINT ["poetry", "run"]
CMD ["python", "-m", "bot"]
|