pref: update Dockerfile
Some checks are pending
CI / deploy (push) Waiting to run

This commit is contained in:
thehrz 2024-11-09 18:54:21 +08:00
parent 55ecdfda0d
commit 5164ea3164
Signed by: thehrz
GPG Key ID: C84CBCE7D5F88855

View File

@ -6,9 +6,11 @@ RUN corepack enable
# COPY frontend/package.json frontend/pnpm-lock.yaml ./ # COPY frontend/package.json frontend/pnpm-lock.yaml ./
# RUN --mount=type=cache,id=pnpm-store,target=/root/.pnpm-store \ # RUN --mount=type=cache,id=pnpm-store,target=/root/.pnpm-store \
# pnpm install --frozen-lockfile # pnpm install --frozen-lockfile
COPY frontend .
RUN pnpm install RUN pnpm install
COPY frontend .
RUN pnpm build RUN pnpm build
FROM golang:1.23 AS build-stage FROM golang:1.23 AS build-stage