pragetx-rag / Dockerfile
h3110Fr13nd
Dockerize the app
43dfddb
raw
history blame
318 Bytes
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"]