1
0
Fork 0
forked from 0x2E/fusion

fix: add the missing .git/ for fe build

This commit is contained in:
rook1e 2024-03-17 20:59:44 +08:00
parent 86fc2b81b3
commit 450cfcc228
No known key found for this signature in database
GPG key ID: C63289D731719BC0
3 changed files with 3 additions and 2 deletions

View file

@ -1,2 +1 @@
.git/
**/node_modules

View file

@ -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

View file

@ -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