-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (21 loc) · 692 Bytes
/
Dockerfile
File metadata and controls
29 lines (21 loc) · 692 Bytes
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
26
27
28
29
# syntax=docker/dockerfile:1
FROM python:3.11-bookworm
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
WORKDIR /app
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.runtime.txt ./
RUN pip install --upgrade pip setuptools wheel \
&& pip install -r requirements.runtime.txt \
&& python -m playwright install --with-deps chromium
COPY . .
RUN cp config/config.example.json config/config.json \
&& mkdir -p analysis local_reports assets/screenshots
CMD ["python", "src/tradealerts.py"]