From dc3de0328f0f5a6ed70ffe33443c44863bcb2897 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gast=C3=B3n=20Fournier?= Date: Mon, 16 Sep 2024 14:43:41 +0200 Subject: [PATCH] fix: docker warnings. 3 warnings found (use docker --debug to expand): - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 3) - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 24) - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 26) --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 25f42247e9b2..43aa7dc9fcd4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG NODE_VERSION=20.16.0-alpine -FROM node:$NODE_VERSION as builder +FROM node:$NODE_VERSION AS builder WORKDIR /unleash @@ -21,9 +21,9 @@ RUN yarn workspaces focus -A --production FROM node:$NODE_VERSION -ENV NODE_ENV production +ENV NODE_ENV=production -ENV TZ UTC +ENV TZ=UTC WORKDIR /unleash