Skip to main content

Dockerfile

Build Image

Basic build command

cd /path/to/Dockerfile
docker build -t your-tag/your-name .
Set the version
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