Skip to content

Commit

Permalink
fix admin dist
Browse files Browse the repository at this point in the history
  • Loading branch information
yedf2 committed Oct 15, 2023
1 parent 78ea821 commit 55e5a3b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions helper/Dockerfile-release
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ RUN cd admin && yarn && VITE_ADMIN_VERSION=$RELEASE_VERSION yarn build

FROM --platform=$TARGETPLATFORM alpine
COPY --from=builder1 /app/dtm/dtm /app/dtm/
COPY --from=builder2 /app/dtm/admin/index.html /app/dtm/admin/
COPY --from=builder2 /app/dtm/admin/dist /app/dtm/admin/
COPY --from=builder2 /app/dtm/admin/dist /app/dtm/admin/dist
WORKDIR /app/dtm
EXPOSE 8080
ENTRYPOINT ["/app/dtm/dtm"]

0 comments on commit 55e5a3b

Please sign in to comment.