Skip to content

Commit

Permalink
Cross compile Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasgloning committed May 4, 2024
1 parent 025c8ad commit 712212c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM docker.io/library/node:18.20.0 as build
FROM --platform=$BUILDPLATFORM docker.io/library/node:18.20.0 as build
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN mkdir /peer-server
WORKDIR /peer-server
COPY package.json package-lock.json ./
Expand Down

0 comments on commit 712212c

Please sign in to comment.