11 lines
249 B
Docker
11 lines
249 B
Docker
|
FROM python:3.11-slim-bullseye
|
||
|
|
||
|
WORKDIR /app/
|
||
|
COPY requirements.txt .
|
||
|
RUN pip install -r requirements.txt --no-cache-dir
|
||
|
RUN playwright install chromium
|
||
|
RUN playwright install-deps
|
||
|
|
||
|
COPY . .
|
||
|
ENTRYPOINT ["python", "main.py"]
|
||
|
CMD [ "start" ]
|