Skip to content

Commit

Permalink
updates requirements and Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
frabarz committed Apr 10, 2024
1 parent 6204a19 commit b28737f
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 52 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,8 @@ ENV GIT_HASH=${GIT_HASH:-dev}
USER tesseract

# Expose api port
ENV GRANIAN_PORT 7777
EXPOSE 7777

# Setup host and port
# Uncomment this line for a cloudrun instance
#ENV GRANIAN_HOST 0.0.0.0

# Define startup commands
CMD ["--interface", "asgi", "--respawn-failed-workers", "app:layer"]
CMD ["--interface", "asgi", "--host", "127.0.0.1", "--port", "7777", "--respawn-failed-workers", "app:layer"]
ENTRYPOINT ["granian"]
91 changes: 45 additions & 46 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,48 +1,47 @@
annotated-types==0.6.0
anyio==4.2.0
asynch==0.2.3
asyncio==3.4.3
backports-zoneinfo==0.2.1
certifi==2024.2.2
ciso8601==2.3.1
click==8.1.7
clickhouse-cityhash==1.0.2.4
colorama==0.4.6
economic-complexity==0.2.1
exceptiongroup==1.2.0
fastapi==0.109.2
h11==0.14.0
httpcore==1.0.2
httptools==0.6.1
httpx==0.26.0
idna==3.6
immutables==0.20
leb128==1.0.5
logiclayer-complexity==0.4.1
logiclayer==0.2.1
lxml==4.9.4
lz4==4.3.3
annotated-types==0.6.0 ; python_version >= "3.8" and python_version < "4.0"
anyio==4.3.0 ; python_version >= "3.8" and python_version < "4.0"
async-timeout==4.0.3 ; python_version >= "3.8" and python_full_version < "3.11.3"
asyncio==3.4.3 ; python_version >= "3.8" and python_version < "4.0"
backports-zoneinfo==0.2.1 ; python_version >= "3.8" and python_version < "3.9"
certifi==2024.2.2 ; python_version >= "3.8" and python_version < "4.0"
click==8.1.7 ; python_version >= "3.8" and python_version < "4.0"
clickhouse-cityhash==1.0.2.4 ; python_version >= "3.8" and python_version < "4.0"
clickhouse-driver[lz4]==0.2.7 ; python_version >= "3.8" and python_version < "4"
colorama==0.4.6 ; python_version >= "3.8" and python_version < "4.0" and platform_system == "Windows"
economic-complexity==0.2.2 ; python_version >= "3.8" and python_version < "4.0"
exceptiongroup==1.2.0 ; python_version >= "3.8" and python_version < "3.11"
fastapi==0.110.1 ; python_version >= "3.8" and python_version < "4.0"
granian==1.2.2 ; python_version >= "3.8" and python_version < "4.0"
h11==0.14.0 ; python_version >= "3.8" and python_version < "4.0"
httpcore==1.0.5 ; python_version >= "3.8" and python_version < "4.0"
httpx==0.27.0 ; python_version >= "3.8" and python_version < "4.0"
idna==3.6 ; python_version >= "3.8" and python_version < "4.0"
immutables==0.20 ; python_version >= "3.8" and python_version < "4.0"
logiclayer-complexity==0.5.0 ; python_version >= "3.8" and python_version < "4.0"
logiclayer==0.3.0 ; python_version >= "3.8" and python_version < "4.0"
lxml==4.9.4 ; python_version >= "3.8" and python_version < "4.0"
lz4==3.0.1 ; implementation_name == "pypy" and python_version >= "3.8" and python_version < "4"
lz4==4.3.3 ; implementation_name != "pypy" and python_version >= "3.8" and python_version < "4"
numpy==1.24.4 ; python_version >= "3.8" and python_version < "3.9"
numpy==1.26.4 ; python_version >= "3.9" and python_version < "4.0"
orjson==3.9.13
pandas==2.0.3
pydantic-core==2.16.2
pydantic==2.6.1
pypika==0.48.9
python-dateutil==2.8.2
python-dotenv==1.0.1
pytz==2024.1
pyyaml==6.0.1
six==1.16.0
sniffio==1.3.0
starlette==0.36.3
tesseract-olap==0.8.2
tesseract-olap[clickhouse]==0.8.2
typing-extensions==4.9.0
tzdata==2024.1
tzlocal==5.2
uvicorn[standard]==0.23.2
uvloop==0.19.0 ; (sys_platform != "win32" and sys_platform != "cygwin") and platform_python_implementation != "PyPy" and python_version >= "3.8" and python_version < "4.0"
watchfiles==0.21.0
websockets==12.0
zstd==1.5.5.1
orjson==3.10.0 ; python_version >= "3.8" and python_version < "4.0"
pandas==2.0.3 ; python_version >= "3.8" and python_version < "4.0"
polars==0.20.19 ; python_version >= "3.8" and python_version < "4.0"
pyarrow==15.0.2 ; python_version >= "3.8" and python_version < "4.0"
pydantic-core==2.16.3 ; python_version >= "3.8" and python_version < "4.0"
pydantic==2.6.4 ; python_version >= "3.8" and python_version < "4.0"
pypika==0.48.9 ; python_version >= "3.8" and python_version < "4.0"
python-dateutil==2.9.0.post0 ; python_version >= "3.8" and python_version < "4.0"
pytz==2024.1 ; python_version >= "3.8" and python_version < "4.0"
redis==5.0.3 ; python_version >= "3.8" and python_version < "4.0"
six==1.16.0 ; python_version >= "3.8" and python_version < "4.0"
sniffio==1.3.1 ; python_version >= "3.8" and python_version < "4.0"
starlette==0.37.2 ; python_version >= "3.8" and python_version < "4.0"
tesseract-olap==0.9.2 ; python_version >= "3.8" and python_version < "4.0"
tesseract-olap[clickhouse,redis]==0.9.2 ; python_version >= "3.8" and python_version < "4.0"
typer==0.11.1 ; python_version >= "3.8" and python_version < "4.0"
typing-extensions==4.11.0 ; python_version >= "3.8" and python_version < "4.0"
tzdata==2024.1 ; python_version >= "3.8" and python_version < "4.0"
tzlocal==5.2 ; python_version >= "3.8" and python_version < "4"
uvloop==0.18.0 ; sys_platform != "win32" and platform_python_implementation == "CPython" and python_version >= "3.8" and python_version < "4.0"
xlsxwriter==3.2.0 ; python_version >= "3.8" and python_version < "4.0"

0 comments on commit b28737f

Please sign in to comment.