File size: 318 Bytes
43dfddb
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python
COPY requirements.txt /app/requirements.txt
WORKDIR /app
RUN pip install -r requirements.txt
RUN playwright install-deps && \
    playwright install
COPY . /app
WORKDIR /app/pragetx_scraper
RUN scrapy crawl pages && \
    cd /app && \
    python setup.py
WORKDIR /app
EXPOSE 7860
CMD ["python", "main.py"]