update docker

This commit is contained in:
2023-05-14 19:47:38 +02:00
parent fc84fdf4f6
commit 74a44872d3
2 changed files with 8 additions and 4 deletions

View File

@@ -1,11 +1,12 @@
from python:3.8 from python:3.8
workdir /srv workdir /srv
RUN apt-get update && apt-get install -y locales-all && apt-get clean && rm -rf /var/lib/apt/lists/*
RUN pip3 install setuptools_scm RUN pip3 install setuptools_scm
RUN pip3 install elasticsearch RUN pip3 install elasticsearch
RUN pip3 install scrapy RUN pip3 install scrapy
RUN pip3 install python-dateutil
COPY requirements.txt . COPY requirements.txt .
RUN pip3 install -r requirements.txt RUN pip3 install -r requirements.txt
COPY scrapy.cfg . COPY scrapy.cfg .

View File

@@ -1,3 +1,6 @@
docker build -t docker.fet.at/andis_scrapy:0.1.2 . docker build -t docker.fet.at/andis_scrapy:0.1.6 .
docker build -t docker.fet.at/andis_index:0.1.2 -f Dockerfile_index . docker build -t docker.fet.at/andis_index:0.1.4 -f Dockerfile_index .
docker build -t docker.fet.at/andis_search:0.1.3 -f Dockerfile_search . docker build -t docker.fet.at/andis_search:0.1.4 -f Dockerfile_search .
docker push docker.fet.at/andis_scrapy:0.1.6
docker push docker.fet.at/andis_index:0.1.4
docker push docker.fet.at/andis_search:0.1.4