mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-23 04:33:11 +00:00
Merge pull request #1023 from turian/feature/better-dockerfil
This commit is contained in:
commit
f17f4c6bb6
1 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
# This is the Dockerfile for ArchiveBox, it bundles the following dependencies:
|
# This is the Dockerfile for ArchiveBox, it bundles the following dependencies:
|
||||||
# python3, ArchiveBox, curl, wget, git, chromium, youtube-dl, single-file
|
# python3, ArchiveBox, curl, wget, git, chromium, youtube-dl, single-file
|
||||||
# Usage:
|
# Usage:
|
||||||
|
# git submodule update --init --recursive
|
||||||
|
# git pull --recurse-submodules
|
||||||
# docker build . -t archivebox --no-cache
|
# docker build . -t archivebox --no-cache
|
||||||
# docker run -v "$PWD/data":/data archivebox init
|
# docker run -v "$PWD/data":/data archivebox init
|
||||||
# docker run -v "$PWD/data":/data archivebox add 'https://example.com'
|
# docker run -v "$PWD/data":/data archivebox add 'https://example.com'
|
||||||
|
@ -9,6 +11,9 @@
|
||||||
# Multi-arch build:
|
# Multi-arch build:
|
||||||
# docker buildx create --use
|
# docker buildx create --use
|
||||||
# docker buildx build . --platform=linux/amd64,linux/arm64,linux/arm/v7 --push -t archivebox/archivebox:latest -t archivebox/archivebox:dev
|
# docker buildx build . --platform=linux/amd64,linux/arm64,linux/arm/v7 --push -t archivebox/archivebox:latest -t archivebox/archivebox:dev
|
||||||
|
#
|
||||||
|
# Read more about [developing
|
||||||
|
# Archivebox](https://github.com/ArchiveBox/ArchiveBox#archivebox-development).
|
||||||
|
|
||||||
|
|
||||||
FROM python:3.10-slim-bullseye
|
FROM python:3.10-slim-bullseye
|
||||||
|
|
Loading…
Reference in a new issue