Alexandre Teles 0ce5780a4e
feat: move endpoints into custom routers, resolves #12 (#14)
* refactor: import routers from old branch

* refactor: import InternalCache removal

* refactor: move routes into dedicated routers

* fix: fixes entrypoint

* refactor: add documentation and bump libs
2022-10-11 00:10:56 -03:00

23 lines
440 B
Docker

FROM python:3.10-slim
ARG GITHUB_TOKEN
ENV GITHUB_TOKEN $GITHUB_TOKEN
ARG HYPERCORN_HOST
ENV HYPERCORN_HOST $HYPERCORN_HOST
ARG HYPERCORN_PORT
ENV HYPERCORN_PORT $HYPERCORN_PORT
ARG HYPERCORN_LOG_LEVEL
ENV HYPERCORN_LOG_LEVEL $HYPERCORN_LOG_LEVEL
WORKDIR /usr/src/app
COPY . .
RUN apt update && \
apt-get install build-essential libffi-dev -y \
&& pip install --no-cache-dir -r requirements.txt
CMD [ "python3", "./run.py" ]