Skip to content

Commit

Permalink
Merge pull request #9 from arvancloud/improve
Browse files Browse the repository at this point in the history
Add Docker build platform
  • Loading branch information
hatamiarash7 authored Mar 3, 2023
2 parents 29e7226 + 7d1c772 commit 6b0025c
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 6b0025c

Please # to comment.