update
This commit is contained in:
13
news_crawler/Dockerfile
Normal file
13
news_crawler/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install dependencies
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy crawler service
|
||||
COPY crawler_service.py .
|
||||
|
||||
# Run crawler
|
||||
CMD ["python", "crawler_service.py"]
|
||||
Reference in New Issue
Block a user