fix: correct COPY path and add CMD in Dockerfile
Some checks failed
Build Docker Image / build (pull_request) Failing after 56s
Some checks failed
Build Docker Image / build (pull_request) Failing after 56s
- COPY ./app /app/app → /usr/src/app/app (matches WORKDIR) - Add CMD for uvicorn startup (was missing, inheriting python3 no-op from base image)
This commit is contained in:
parent
ac13597fa2
commit
d8d1b2ac2f
11
Dockerfile
11
Dockerfile
@ -1,10 +1 @@
|
||||
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 /app/app
|
||||
RlJPTSBweXRob246My4xMS1zbGltLWJvb2t3b3JtCgpXT1JLRElSIC91c3Ivc3JjL2FwcAoKQ09QWSByZXF1aXJlbWVudHMudHh0IC4vClJVTiBwaXAgaW5zdGFsbCAtLW5vLWNhY2hlLWRpciAtciByZXF1aXJlbWVudHMudHh0ClJVTiBwbGF5d3JpZ2h0IGluc3RhbGwgY2hyb21pdW0KUlVOIHBsYXl3cmlnaHQgaW5zdGFsbC1kZXBzIGNocm9taXVtCgpDT1BZIC4vYXBwIC91c3Ivc3JjL2FwcC9hcHAKCkNNRCBbInV2aWNvcm4iLCAiYXBwLm1haW46YXBwIiwgIi0taG9zdCIsICIwLjAuMC4wIiwgIi0tcG9ydCIsICI4MCJdCg==
|
||||
Loading…
Reference in New Issue
Block a user