We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9213096 commit 20250e8Copy full SHA for 20250e8
.gitattributes
@@ -0,0 +1,3 @@
1
+* text=auto eol=lf
2
+*.{cmd,[cC][mM][dD]} text eol=crlf
3
+*.{bat,[bB][aA][tT]} text eol=crlf
Dockerfile.dev
@@ -0,0 +1,19 @@
+FROM python:3.9-slim
+
+WORKDIR /home/myoxia
4
5
+RUN apt update && apt install -y gcc tesseract-ocr tesseract-ocr-osd tesseract-ocr-fra
6
7
+COPY pyproject.toml pyproject.toml
8
+COPY poetry.lock poetry.lock
9
10
+RUN python -m pip install poetry
11
+RUN python -m poetry config virtualenvs.in-project true
12
+RUN python -m poetry install
13
+RUN .venv/bin/python -m spacy download fr_core_news_lg
14
15
+ENV FLASK_ENV development
16
+ENV FLASK_APP myoxia.py
17
18
+EXPOSE 5000
19
+ENTRYPOINT ["./dev_boot.sh"]
0 commit comments