1
0
Fork 0

add instructions for multi-arch build at top of Dockerfile

This commit is contained in:
Nick Sweeting 2022-04-21 07:29:27 -07:00
parent 2b35d14c0f
commit ed9ef588d9

View file

@ -6,6 +6,10 @@
# docker run -v "$PWD/data":/data archivebox add 'https://example.com' # docker run -v "$PWD/data":/data archivebox add 'https://example.com'
# docker run -v "$PWD/data":/data -it archivebox manage createsuperuser # docker run -v "$PWD/data":/data -it archivebox manage createsuperuser
# docker run -v "$PWD/data":/data -p 8000:8000 archivebox server # docker run -v "$PWD/data":/data -p 8000:8000 archivebox server
# Multi-arch build:
# docker buildx create --use
# docker buildx build . --platform=linux/amd64,linux/arm64,linux/386,linux/arm/v7 --push -t archivebox/archivebox:latest -t archivebox/archivebox:dev
FROM python:3.10-slim-bullseye FROM python:3.10-slim-bullseye