-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from nucypher/development
Next Porter Release - Candidate for v3.7.0
- Loading branch information
Showing
25 changed files
with
2,439 additions
and
1,913 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 |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
fetch-depth: 0 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.9' | ||
python-version: '3.12' | ||
- uses: akaihola/[email protected] | ||
with: | ||
version: "1.7.2" # defaults to same version, but can be modified |
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
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,13 +1,20 @@ | ||
FROM nucypher/rust-python:3.8.12 | ||
FROM nucypher/rust-python:3.12.0 | ||
|
||
# Update | ||
RUN apt-get update -y && apt upgrade -y | ||
RUN apt-get install patch gcc libffi-dev wget git -y | ||
# set default user | ||
USER $USER | ||
|
||
# set default in-container workdir | ||
WORKDIR /code | ||
COPY . /code | ||
|
||
# Porter requirements | ||
RUN pip3 install . | ||
# Layer 1: Install dependencies | ||
COPY requirements.txt /code | ||
RUN pip3 install --no-cache-dir -r requirements.txt | ||
|
||
# Layer 2: Install porter entrypoint | ||
COPY . /code | ||
RUN pip3 install . --no-deps | ||
|
||
# Layer 3: Set environment variables | ||
RUN export PATH="$HOME/.local/bin:$PATH" | ||
CMD ["/bin/bash"] |
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
version: '3' | ||
|
||
services: | ||
porter-http: | ||
restart: on-failure | ||
|
Oops, something went wrong.