added dockerfile and pyproject.toml
This commit is contained in:
+17
@@ -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"]
|
||||
Reference in New Issue
Block a user