mirror of
https://github.com/status-im/status-python-sdk.git
synced 2026-08-31 06:01:19 +00:00
requirements should be copy first to avoid downloading everytime
excluding example config from docker
Signed-off-by: apentori <pentori.alexis@proton.me>
14 lines
314 B
Docker
14 lines
314 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
COPY requirements.txt .
|
|
COPY bot/requirements.txt bot/requirements.txt
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt \
|
|
&& if [ -f bot/requirements.txt ]; then pip install --no-cache-dir -r bot/requirements.txt; fi
|
|
|
|
COPY . .
|
|
|
|
ENTRYPOINT ["python", "monitor.py"]
|
|
CMD []
|