Skip to content

Commit

Permalink
fix build docker
Browse files Browse the repository at this point in the history
  • Loading branch information
yedf2 committed Sep 23, 2023
1 parent 72cf722 commit 78ea821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper/Dockerfile-release
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ARG TARGETOS
ARG RELEASE_VERSION
WORKDIR /app/dtm
COPY . .
RUN cd admin && npm install -g yarn && yarn && VITE_ADMIN_VERSION=$RELEASE_VERSION yarn build
RUN cd admin && yarn && VITE_ADMIN_VERSION=$RELEASE_VERSION yarn build

FROM --platform=$TARGETPLATFORM alpine
COPY --from=builder1 /app/dtm/dtm /app/dtm/
Expand Down

0 comments on commit 78ea821

Please sign in to comment.