feat: add vault
This commit is contained in:
26
Dockerfile
Normal file
26
Dockerfile
Normal file
@@ -0,0 +1,26 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
ca-certificates curl \
|
||||
fonts-liberation \
|
||||
libasound2 libatk-bridge2.0-0 libatk1.0-0 libcups2 libdbus-1-3 \
|
||||
libdrm2 libgbm1 libnspr4 libnss3 libx11-6 libx11-xcb1 libxcb1 \
|
||||
libxcomposite1 libxdamage1 libxext6 libxfixes3 libxkbcommon0 \
|
||||
libxrandr2 libxrender1 libxshmfence1 libxss1 libxtst6 \
|
||||
libpango-1.0-0 libpangocairo-1.0-0 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip install --no-cache-dir uv
|
||||
|
||||
COPY pyproject.toml /app/pyproject.toml
|
||||
|
||||
RUN uv pip compile pyproject.toml -o /app/requirements.txt \
|
||||
&& uv pip install --system -r /app/requirements.txt
|
||||
|
||||
RUN python -m patchright install chromium
|
||||
|
||||
COPY src /app/src
|
||||
|
||||
CMD ["uv", "run", "python", "-m", "src.main"]
|
||||
Reference in New Issue
Block a user