Skip to content

Commit

Permalink
Update Dockerfile example
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Aug 27, 2024
1 parent d5a47cf commit 7d48919
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/resources/docker-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ ARG IMAGE_TAG=latest

FROM "$IMAGE":"$IMAGE_TAG"

# Using the Docker build scripts, you can accept a BUILD_VERSION and pass it in as an envrironment variable which will allow you to output the build version in the code
# https://github.com/nationalarchives/ds-docker-actions/blob/main/.github/actions/docker-build/action.yml#L34
ARG BUILD_VERSION
ENV BUILD_VERSION="$BUILD_VERSION"

# Provide a build command used from your package.json to build Node assets
ENV NPM_BUILD_COMMAND=compile

Expand Down

0 comments on commit 7d48919

Please sign in to comment.