This commit is contained in:
2025-10-19 04:16:31 +11:00
parent 892fa7ce41
commit 800c5ff7f1
4 changed files with 16 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
FROM node:lts-alpine as frontend_builder
FROM node:latest AS frontend_builder
WORKDIR /app/server/frontend
COPY server/frontend/package*.json ./
RUN npm install
@@ -7,8 +7,7 @@ ARG version
ENV VITE_APP_VERSION=${version}
RUN npm run build
FROM golang:1.25 as builder
LABEL authors="nite07"
FROM golang:1.25 AS builder
WORKDIR /app
COPY . .
COPY --from=frontend_builder /app/server/frontend/dist /app/server/frontend/dist