Skip to content

Commit

Permalink
Add docker platform
Browse files Browse the repository at this point in the history
  • Loading branch information
hatamiarash7 committed Mar 3, 2023
1 parent ebab14f commit 7d1c772
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM node:14-alpine AS BUILDER
FROM --platform=$BUILDPLATFORM node:14-alpine AS BUILDER
WORKDIR /app
COPY ./package*.json ./
RUN npm install

FROM node:14-alpine AS APP
FROM --platform=$BUILDPLATFORM node:14-alpine AS APP

ARG APP_VERSION="undefined@docker"

Expand Down

0 comments on commit 7d1c772

Please # to comment.