added dockerfile and pyproject.toml

This commit is contained in:
2024-12-30 19:13:35 +01:00
parent b3c30398c2
commit ac1509c215
23 changed files with 142 additions and 99 deletions
+17
View File
@@ -0,0 +1,17 @@
FROM python:3.10.16
# set env variables for python
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
# set work directory
WORKDIR /app
COPY pyproject.toml /app/
COPY config.yml /app/
COPY src/ /app/src
RUN pip install --upgrade pip
RUN pip install .
CMD ["streamlit", "run", "src/annescribe/webapp_main.py"]