12345678910111213141516 |
- FROM python:3.11-slim
-
- RUN pip install poetry \
- && poetry config virtualenvs.create false
- RUN useradd --create-home --shell /bin/bash user
- USER user
-
-
- WORKDIR /home/user/million
- COPY pyproject.toml poetry.lock ./
-
- RUN poetry install --no-dev --no-interaction --no-ansi
-
- COPY million/ ./
-
- # CMD ["poetry", "run", "python", "million/scripts/script.py"]
|