Версия 1.0
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 /PostBot
|
||||
|
||||
COPY pyproject.toml poetry.lock ./
|
||||
RUN poetry install --no-interaction --no-root --only main
|
||||
|
||||
COPY ../../../../Desktop/PostBot .
|
||||
|
||||
CMD ["poetry", "run", "python", "-m", "main"]
|
||||
Reference in New Issue
Block a user