dockerization complete

pull/72/head
msramalho 2022-11-08 15:55:33 +00:00
rodzic 81eadd4672
commit 390b84eb22
33 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -15,16 +15,15 @@ RUN pip install --upgrade pip && \
# install docker for WACZ
RUN curl -fsSL https://get.docker.com | sh
# TODO: currently disabled see https://github.com/bellingcat/auto-archiver/issues/66
# RUN curl -fsSL https://get.docker.com | sh
# RUN git clone https://github.com/bellingcat/auto-archiver
# TODO: avoid copying unnecessary files, including .git
# COPY ./src/ .
COPY Pipfile Pipfile.lock ./
RUN pipenv install --python=3.10 --system --deploy
# TODO: to avoid copying pipfile lock it should be on the .dockerignore
ENV IS_DOCKER=1
COPY . .
COPY ./src/ .
# CMD ["pipenv", "run", "python", "auto_archive.py"]
ENTRYPOINT ["python", "auto_archive.py"]

0
src/__init__.py 100644
Wyświetl plik

0
src/cli.py 100644
Wyświetl plik