File size: 580 Bytes
f4635a2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4f16d99
f4635a2
 
05a3f3b
f4635a2
 
 
4f16d99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM python:3.10-slim-buster
LABEL maintainer="Jessica Walkenhorst"
LABEL description="Meeting-Attendance-Organizer"

ARG PIP_VERSION="21.2.1"
ARG POETRY_VERSION="1.2.0"


RUN pip3 install -q "pip==$PIP_VERSION"
RUN pip3 install -q "poetry==$POETRY_VERSION"

# Tell Poetry where to place its cache and virtual environment
ENV POETRY_CACHE_DIR=/opt/.cache

WORKDIR /home/

COPY pyproject.toml poetry.lock README.md ./
COPY src ./src/

RUN poetry install --without dev

EXPOSE 7860

ENTRYPOINT ["poetry", "run", "streamlit", "run", "src/maorganizer/ui.py", "--server.port", "7860"]