-
-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* switch to poetry * version changes * add pypi push
- Loading branch information
1 parent
5c11c35
commit 6cad622
Showing
8 changed files
with
449 additions
and
29 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
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[pycodestyle] | ||
max_line_length = 130 | ||
ignore = ["E701", "E70", "E722", "E402", "E302", "E266", "E265", "E26"] | ||
in-place = true | ||
recursive = true |
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,20 +1,15 @@ | ||
FROM python:3.10.0-slim-bullseye | ||
WORKDIR /usr/src/permasigner | ||
|
||
ENV VIRTUAL_ENV=/opt/venv | ||
RUN python3 -m venv $VIRTUAL_ENV | ||
ENV PATH="$VIRTUAL_ENV/bin:$PATH" | ||
|
||
# system dependencies | ||
RUN apt-get update | ||
RUN apt-get upgrade -y | ||
RUN apt install -y git gcc python3-dev | ||
|
||
# python dependencies | ||
COPY ./requirements.txt . | ||
COPY . . | ||
RUN pip install --upgrade pip setuptools wheel | ||
RUN pip install -r requirements.txt | ||
RUN pip install --upgrade pip setuptools wheel poetry | ||
RUN poetry install | ||
|
||
ENV IS_DOCKER_CONTAINER Yes | ||
ENTRYPOINT [ "data/docker-entrypoint.sh" ] |
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,16 +1,11 @@ | ||
FROM python:3.10.0-slim-bullseye | ||
|
||
ENV VIRTUAL_ENV=/opt/venv | ||
RUN python3 -m venv $VIRTUAL_ENV | ||
ENV PATH="$VIRTUAL_ENV/bin:$PATH" | ||
|
||
# system dependencies | ||
RUN apt update | ||
RUN apt install -y curl git gcc python3-dev | ||
|
||
# python dependencies | ||
COPY ./requirements.txt . | ||
COPY . . | ||
RUN pip install --upgrade pip setuptools wheel | ||
RUN pip install -r requirements.txt | ||
RUN poetry install | ||
RUN pip install autopep8 |
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
Oops, something went wrong.