Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric05 committed Aug 7, 2024
1 parent 3249858 commit a673be2
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: '3.11'

- uses: Gr1N/setup-poetry@v8
- name: Install dependencies
run: |
poetry config virtualenvs.create false
Expand Down
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
FROM python:3.11
LABEL io.whalebrew.config.networks '["host"]'
ADD requirements.txt /app/
ADD pyproject.toml /app/
WORKDIR /app
RUN pip install -r requirements.txt
RUN pip install poetry
RUN poetry config virtualenvs.create false
RUN poetry install --all-extras --no-root
COPY dothttp /app/dothttp
COPY dotextensions /app/dotextensions
COPY setup.py README.md /app/
RUN ls && python setup.py install
RUN pip install flask flask-cors waitress
COPY README.md /app/
RUN poetry install
ENTRYPOINT ["python"]
CMD ["-m", "waitress", "--port", "5000", "dotextensions.server.agent:app"]
EXPOSE 5000
2 changes: 1 addition & 1 deletion dothttp/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.43a18"
__version__ = "0.0.43a19"
16 changes: 15 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dothttp-req"
version = "0.0.43a18"
version = "0.0.43a19"
description = "Dothttp is Simple http client for testing and development"
authors = ["Prasanth <kesavarapu.siva@gmail.com>"]
license = "MIT"
Expand Down Expand Up @@ -42,6 +42,7 @@ waitress = "3.0.0"
flask = "3.0.2"
python-magic = "^0.4.27"
js2py = "0.74"
flask-cors = "^4.0.1"

[tool.poetry.extras]
js = ["js2py"]
Expand Down

0 comments on commit a673be2

Please sign in to comment.