Files
wishlistbot/Dockerfile
saddydead 5fe610882b
All checks were successful
docker / docker-push (push) Successful in 2m40s
poetry ebal
2026-03-11 13:57:29 +03:00

14 lines
289 B
Docker

FROM python:3.13-bookworm
ENV POETRY_HOME="/opt/poetry"
ENV POETRY_VIRTUALENVS_IN_PROJECT=true
ENV PATH="$POETRY_HOME/bin:$PATH"
COPY ./src /src
RUN apt update
RUN apt install -y pipx
RUN pipx install poetry
CMD [ "poetry", "install" ]
CMD [ "poetry", "run", "python", "/src/main.py" ]