Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ddvk committed Nov 22, 2024
1 parent 17be4c2 commit 946cdc8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ ARG VERSION=0.0.0
FROM --platform=$BUILDPLATFORM node:lts-slim AS uibuilder
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
RUN corepack enable pnpm && corepack install -g pnpm@latest-9

WORKDIR /src
COPY pnpm-lock.yaml /src
RUN pnpm fetch --prod
#COPY ui/package.json ui/pnpm-lock.yaml /src
#RUN pnpm fetch

COPY ui .
RUN pnpm i && pnpm build
RUN pnpm install && pnpm build

FROM golang:1-alpine AS gobuilder
ARG VERSION
Expand Down

0 comments on commit 946cdc8

Please sign in to comment.