All checks were successful
Build Docker Image / build (pull_request) Successful in 7m54s
- COPY ./app /app/app → /usr/src/app/app (matches WORKDIR) - Add CMD for uvicorn startup (was missing, inheriting python3 no-op from base image)
13 lines
298 B
Docker
13 lines
298 B
Docker
FROM python:3.11-slim-bookworm
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY requirements.txt ./
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
RUN playwright install chromium
|
|
RUN playwright install-deps chromium
|
|
|
|
COPY ./app /usr/src/app/app
|
|
|
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
|