Начало. Дз по первому уроку
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
Reference in New Issue
Block a user