mirror of
https://github.com/0x2E/fusion.git
synced 2025-12-22 06:27:06 +00:00
fix: add the missing .git/ for fe build
This commit is contained in:
@@ -1,2 +1 @@
|
||||
.git/
|
||||
**/node_modules
|
||||
|
||||
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@@ -10,6 +10,8 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # for vite extracting git tag/hash
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v5
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# build frontend
|
||||
FROM node:21 as fe
|
||||
WORKDIR /src
|
||||
COPY ./frontend ./
|
||||
COPY .git frontend ./
|
||||
RUN npm i && npm run build
|
||||
|
||||
# build backend
|
||||
|
||||
Reference in New Issue
Block a user