We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86fc2b8 commit 450cfccCopy full SHA for 450cfcc
.dockerignore
@@ -1,2 +1 @@
1
-.git/
2
**/node_modules
.github/workflows/docker.yml
@@ -10,6 +10,8 @@ jobs:
10
steps:
11
- name: Checkout
12
uses: actions/checkout@v4
13
+ with:
14
+ fetch-depth: 0 # for vite extracting git tag/hash
15
- name: Docker meta
16
id: meta
17
uses: docker/metadata-action@v5
Dockerfile
@@ -1,7 +1,7 @@
# build frontend
FROM node:21 as fe
3
WORKDIR /src
4
-COPY ./frontend ./
+COPY .git frontend ./
5
RUN npm i && npm run build
6
7
# build backend
0 commit comments