Докер образ
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
FROM mwalbeck/python-poetry:2.1-3.11
|
||||||
|
|
||||||
|
WORKDIR /InfoBot
|
||||||
|
|
||||||
|
COPY pyproject.toml poetry.lock ./
|
||||||
|
RUN poetry install --no-interaction --no-root --only main
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
CMD ["poetry", "run", "python", "-m", "main"]
|
||||||
Reference in New Issue
Block a user