16 lines
222 B
Docker
16 lines
222 B
Docker
|
FROM python:3.10-slim
|
||
|
|
||
|
RUN pip install poetry
|
||
|
|
||
|
RUN poetry config virtualenvs.create false
|
||
|
|
||
|
RUN mkdir -p /usr/src/tg_bot
|
||
|
|
||
|
WORKDIR /usr/src/tg_bot
|
||
|
|
||
|
COPY ./poetry.lock .
|
||
|
|
||
|
COPY ./pyproject.toml .
|
||
|
|
||
|
RUN poetry install --no-root
|