Skip to content

Commit 22f5931

Browse files
committed
fix: remove uv package installer and streamline Dockerfile commands
1 parent 226f093 commit 22f5931

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

Dockerfile

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,11 @@ RUN apt-get update && apt-get install -y \
99
curl \
1010
&& rm -rf /var/lib/apt/lists/*
1111

12-
# Install uv (fast Python package installer)
13-
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
14-
ENV PATH="/root/.cargo/bin:$PATH"
15-
1612
# Copy project files
17-
COPY pyproject.toml ./
1813
COPY requirements.txt ./
1914

20-
# Install Python dependencies
21-
RUN uv pip install --system -r requirements.txt
15+
# Install Python dependencies using pip
16+
RUN pip install --no-cache-dir -r requirements.txt
2217

2318
# Install Playwright browsers
2419
RUN playwright install --with-deps chromium
@@ -34,4 +29,4 @@ ENV PORT=8080
3429
EXPOSE 8080
3530

3631
# Run the application
37-
CMD uvicorn main_api:app --host 0.0.0.0 --port ${PORT}
32+
CMD ["uvicorn", "main_api:app", "--host", "0.0.0.0", "--port", "8080"]

0 commit comments

Comments
 (0)