wulkabot/Dockerfile

15 lines
389 B
Docker
Raw Permalink Normal View History

FROM python:3.11-alpine
2023-06-19 13:09:19 +02:00
ENV POETRY_VERSION=1.5.1
ENV PYTHONUNBUFFERED=1
RUN apk add gcc libressl-dev libffi-dev python3-dev musl-dev
2023-06-19 13:09:19 +02:00
RUN pip install "poetry~=$POETRY_VERSION"
WORKDIR /app
COPY poetry.lock pyproject.toml /app/
RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi --no-root
COPY . .
CMD [ "poetry", "run", "python", "-m", "wulkabot" ]