mirror of
https://github.com/mempool/mempool.git
synced 2025-06-13 10:21:11 +02:00
Add the DOCKER_COMMIT_HASH env var to the backend Dockerfile
This commit is contained in:
parent
aaa8945b09
commit
f88af9c3f9
@ -1,5 +1,8 @@
|
|||||||
FROM node:16.10.0-buster-slim AS builder
|
FROM node:16.10.0-buster-slim AS builder
|
||||||
|
|
||||||
|
ARG commitHash
|
||||||
|
ENV DOCKER_COMMIT_HASH=${commitHash}
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user