Skip to content

Commit

Permalink
fix: python libraries dependencies are not suitable for docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
100mi committed Nov 18, 2022
1 parent 7d7017e commit de6f063
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 28 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ ARG INSTALL_DEV=false
RUN bash -c "if [ $INSTALL_DEV == 'true' ] ; then poetry install --no-root ; else poetry install --no-root --no-dev ; fi"

COPY . .
ENV PYTHONPATH=/app
ENV PYTHONPATH=/app
60 changes: 37 additions & 23 deletions poetry.lock

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

10 changes: 6 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ license = "MIT"

[tool.poetry.dependencies]
python = ">=3.9,<3.11"
fastapi = "^0.85.1"
uvicorn = "^0.19.0"
python-dotenv = "^0.21.0"
pandas-profiling = "^3.3.0"
fastapi = "^0.70.0"
uvicorn = "^0.15.0"
polars = {extras = ["numpy", "pandas", "pyarrow", "fsspec"], version = "^0.14.28"}
python-dotenv = "^0.19.1"
requests = "^2.26.0"
fsspec = "^2021.10.1"
pandas-profiling = "3.4.0"

[tool.poetry.dev-dependencies]
flake8 = "^4.0.1"
Expand Down

0 comments on commit de6f063

Please sign in to comment.