-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35f56c9
commit 9cf8530
Showing
3 changed files
with
110 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM python:3.10-slim | ||
|
||
COPY requirements.txt /plugin/requirements.txt | ||
|
||
WORKDIR /plugin | ||
|
||
RUN pip install -r requirements.txt --no-cache-dir | ||
|
||
COPY . /plugin/ | ||
|
||
CMD [ "" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM python:3.10-slim | ||
|
||
RUN pip3 install poetry | ||
|
||
COPY pyproject.toml /plugin/pyproject.toml | ||
|
||
WORKDIR /plugin | ||
|
||
RUN poetry config virtualenvs.create false && poetry install --without dev | ||
|
||
COPY . /plugin/ | ||
|
||
CMD [ "python" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters