Add docker artifacts and agent context
This commit is contained in:
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM mcr.microsoft.com/playwright/python:v1.50.0-jammy
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
COPY scraper_service.py /app/scraper_service.py
|
||||
|
||||
RUN python -m pip install --no-cache-dir flask beautifulsoup4
|
||||
|
||||
EXPOSE 9777
|
||||
|
||||
CMD ["python", "scraper_service.py"]
|
||||
Reference in New Issue
Block a user