Skip to content

Commit

Permalink
fix: docker warnings.
Browse files Browse the repository at this point in the history
 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)
  • Loading branch information
gastonfournier committed Sep 16, 2024
1 parent 212203f commit dc3de03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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

Expand Down

0 comments on commit dc3de03

Please sign in to comment.