Skip to content

Commit 9a31d70

Browse files
committed
update dockerfile
1 parent f1675a9 commit 9a31d70

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# 1) Build
22
FROM node:18-alpine AS builder
33

4+
# Install git for change detection
5+
RUN apk add --no-cache git
6+
47
ARG MY_BASE_URL
58
ARG MY_API_KEY
69

@@ -13,6 +16,8 @@ COPY package*.json /app/
1316

1417
RUN npm ci
1518

19+
COPY .git /app/.git
20+
1621
COPY . /app/
1722

1823
RUN npm run build

0 commit comments

Comments
 (0)