Skip to main content

Dockerfile

Build Image

Basic build command

cd /path/to/Dockerfile
docker build -t your-tag/your-name .
Set the version

More details: docker-bookstack/Dockerfile at master · linuxserver/docker-bookstack · GitHub

FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.17

# set version label
ARG BUILD_DATE
ARG VERSION
ARG BOOKSTACK_RELEASE
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="homerr"



Learning