feat: initial commit
This commit is contained in:
18
service/Dockerfile
Normal file
18
service/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# System deps for Playwright
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY pyproject.toml .
|
||||
RUN pip install --no-cache-dir -e . \
|
||||
&& scrapling install
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 8765
|
||||
|
||||
CMD ["uvicorn", "service.main:app", "--host", "0.0.0.0", "--port", "8765"]
|
||||
Reference in New Issue
Block a user