File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 1
- FROM node:20-alpine AS builder
2
-
3
- RUN apk add --no-cache git
1
+ FROM node:22-alpine AS builder
4
2
5
3
WORKDIR /app
4
+
5
+ RUN corepack enable yarn && \
6
+ yarn set version 4.9.2
7
+
6
8
COPY package.json .
7
9
COPY yarn.lock .
10
+ COPY .yarn/ .yarn/
11
+ COPY .yarnrc.yml ./
8
12
9
- RUN yarn install --frozen-lockfile --network-timeout 600000
13
+ RUN apk add --no-cache git
14
+ RUN yarn install --immutable --network-timeout 600000
10
15
11
- COPY src/ src
12
- COPY nginx.conf .
13
- COPY tsconfig.json .
14
- COPY vite.config.mts .
15
16
COPY . .
16
17
17
- RUN echo `git rev-parse --short=9 HEAD` > health.html && \
18
+ RUN echo `git rev-parse --short HEAD` > health.html && \
18
19
echo "" >> .env && \
19
- echo "SENTRY_RELEASE_VERSION=dashboard@$(git rev-parse --short=9 HEAD)" >> .env
20
-
21
- RUN yarn build
20
+ echo "SENTRY_RELEASE_VERSION=dashboard@$(git rev-parse --short HEAD)" >> .env && \
21
+ yarn build
22
22
23
23
FROM fholzer/nginx-brotli:v1.26.2
24
24
You can’t perform that action at this time.
0 commit comments