Skip to content

Commit

Permalink
mkworld path
Browse files Browse the repository at this point in the history
  • Loading branch information
sinamics committed Aug 16, 2023
1 parent bb2fa83 commit 31ddd20
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,12 @@ COPY . .

RUN SKIP_ENV_VALIDATION=1 npm run build


# Copy the ztmkworld binary based on the target platform architecture
FROM base AS ztmkworld_builder
ARG TARGETPLATFORM
WORKDIR /app
COPY /workspaces/ztnodeid/build/linux_amd64/ztmkworld ztmkworld_amd64
COPY /workspaces/ztnodeid/build/linux_arm64/ztmkworld ztmkworld_arm64
COPY ztnodeid/build/linux_amd64/ztmkworld ztmkworld_amd64
COPY ztnodeid/build/linux_arm64/ztmkworld ztmkworld_arm64
RUN \
case "${TARGETPLATFORM}" in \
"linux/amd64") cp ztmkworld_amd64 /usr/local/bin/ztmkworld ;; \
Expand Down

0 comments on commit 31ddd20

Please sign in to comment.