From 92718975872e2e67a0f7fb28b134f1834e8c4d33 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Thu, 7 Nov 2024 10:47:23 +0100 Subject: [PATCH] feat(docker): update docker syntax 1 warning found (use docker --debug to expand): - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 9) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 67c3c544..f39a68c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ FROM pelias/baseimage RUN apt-get update && apt-get install -y bzip2 lbzip2 unzip && rm -rf /var/lib/apt/lists/* # change working dir -ENV WORKDIR /code/pelias/whosonfirst +ENV WORKDIR=/code/pelias/whosonfirst WORKDIR ${WORKDIR} # copy package.json first to prevent npm install being rerun when only code changes