Docker Poetry

FROM python:3.7
 
RUN apt-get update
RUN apt-get install -y libgl1-mesa-glx
 
RUN pip install --upgrade pip
RUN pip install poetry
RUN poetry config virtualenvs.create false
 
WORKDIR /app
COPY pyproject.toml ./
RUN poetry install -n
 
COPY . .

  • open/docker-poetry.txt
  • Last modified: 2024/10/05 06:15
  • by 127.0.0.1