inisital commit

This commit is contained in:
2022-11-21 15:40:16 +01:00
commit a9e3c19fb9
41 changed files with 2338 additions and 0 deletions

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM python:3.10-alpine
# Install Poetry
RUN apk add --no-cache curl
ENV POETRY_HOME=/poetry
RUN curl -sSL https://install.python-poetry.org | python -
ENV PATH ${POETRY_HOME}/bin:$PATH
# Install Deps
WORKDIR /app
COPY poetry.lock poetry.toml pyproject.toml ./
RUN poetry install
# Copy code
COPY . .
ENTRYPOINT [ "/poetry/bin/poetry" ]
CMD [ "run", "python", "src/main.py" ]
ENV GLYPHANCE_CONFIG=/data/glyphance.yaml
ENV GLYPHANCE_OUTPUT_DIRECTORY=/data/generated