File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11.git
22.github
3- .vscode
43.deepsource.toml
54.editorconfig
65.gitignore
76.pre-commit-config.yaml
8- pyproject.toml
7+ requirements.txt
98renovate.json
Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ LABEL org.opencontainers.image.licenses=MIT
88LABEL org.opencontainers.image.title="AkariBot WebRender"
99LABEL maintainer="Teahouse Studios <admin@teahou.se>"
1010
11+ RUN pip install uv
12+
1113WORKDIR /akari-bot-webrender
14+
1215ENV PYTHONDONTWRITEBYTECODE=1
1316ENV PYTHONUNBUFFERED=1
1417
@@ -34,9 +37,9 @@ RUN apt-get update && apt-get install -y \
3437 libasound2 \
3538 && rm -rf /var/lib/apt/lists/*
3639
37- COPY requirements.txt .
38- RUN pip install --no-cache-dir -r requirements.txt
39- RUN playwright install --with-deps chromium
40+ COPY pyproject.toml uv.lock README.md ./
41+ RUN uv sync --frozen
42+ RUN uv run playwright install --with-deps chromium
4043
4144ADD . .
4245CMD ["python" , "./run_server.py" ]
You can’t perform that action at this time.
0 commit comments