mirror of
https://github.com/bestnite/sub2clash.git
synced 2025-10-26 01:01:35 +00:00
workflow
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user