mirror of
https://github.com/0x2E/fusion.git
synced 2025-06-08 05:27:15 +09:00
fix: add the missing .git/ for fe build
This commit is contained in:
parent
86fc2b81b3
commit
450cfcc228
3 changed files with 3 additions and 2 deletions
|
@ -1,2 +1 @@
|
||||||
.git/
|
|
||||||
**/node_modules
|
**/node_modules
|
||||||
|
|
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
|
@ -10,6 +10,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0 # for vite extracting git tag/hash
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# build frontend
|
# build frontend
|
||||||
FROM node:21 as fe
|
FROM node:21 as fe
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY ./frontend ./
|
COPY .git frontend ./
|
||||||
RUN npm i && npm run build
|
RUN npm i && npm run build
|
||||||
|
|
||||||
# build backend
|
# build backend
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue