mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-08 03:18:28 +03:00
dockerization complete
This commit is contained in:
@@ -15,16 +15,15 @@ RUN pip install --upgrade pip && \
|
|||||||
|
|
||||||
|
|
||||||
# install docker for WACZ
|
# 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
|
# RUN git clone https://github.com/bellingcat/auto-archiver
|
||||||
# TODO: avoid copying unnecessary files, including .git
|
# TODO: avoid copying unnecessary files, including .git
|
||||||
# COPY ./src/ .
|
|
||||||
COPY Pipfile Pipfile.lock ./
|
COPY Pipfile Pipfile.lock ./
|
||||||
RUN pipenv install --python=3.10 --system --deploy
|
RUN pipenv install --python=3.10 --system --deploy
|
||||||
# TODO: to avoid copying pipfile lock it should be on the .dockerignore
|
|
||||||
ENV IS_DOCKER=1
|
ENV IS_DOCKER=1
|
||||||
COPY . .
|
COPY ./src/ .
|
||||||
|
|
||||||
# CMD ["pipenv", "run", "python", "auto_archive.py"]
|
# CMD ["pipenv", "run", "python", "auto_archive.py"]
|
||||||
ENTRYPOINT ["python", "auto_archive.py"]
|
ENTRYPOINT ["python", "auto_archive.py"]
|
||||||
|
|||||||
0
src/__init__.py
Normal file
0
src/__init__.py
Normal file
0
src/cli.py
Normal file
0
src/cli.py
Normal file
Reference in New Issue
Block a user