Revert "try uv instead of pip for the deployment"
This reverts commit d289e692bb
.
This commit is contained in:
parent
d289e692bb
commit
d609587721
2 changed files with 3 additions and 19 deletions
|
@ -1,9 +1,9 @@
|
|||
FROM python:alpine3.21
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
||||
WORKDIR /pgbot
|
||||
|
||||
COPY pyproject.toml .
|
||||
RUN uv sync
|
||||
COPY requirements.txt .
|
||||
ENV PIP_ROOT_USER_ACTION=ignore
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
CMD /pgbot/pgbot
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
[project]
|
||||
name = "pgbot"
|
||||
version = "0.1.0"
|
||||
description = "not applicable"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"aiocron>=1.8",
|
||||
"bs4>=0.0.2",
|
||||
"fake-headers>=1",
|
||||
"psycopg[binary]>=3.2",
|
||||
"pytz>=2024.2",
|
||||
"pyyaml>=6",
|
||||
"requests>=2.32",
|
||||
"telethon>=1.37",
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue