Add the DOCKER_COMMIT_HASH env var to the backend Dockerfile

This commit is contained in:
Felipe Knorr Kuhn 2022-03-23 12:16:21 -07:00
parent aaa8945b09
commit f88af9c3f9
No known key found for this signature in database
GPG key ID: 79619B52BB097C1A

View file

@ -1,5 +1,8 @@
FROM node:16.10.0-buster-slim AS builder
ARG commitHash
ENV DOCKER_COMMIT_HASH=${commitHash}
WORKDIR /build
COPY . .