File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change 1
1
# syntax=docker/dockerfile:1.4
2
- FROM --platform=$BUILDPLATFORM docker.io/library/node:22 as build_deps
2
+ FROM --platform=$BUILDPLATFORM docker.io/library/node:22-alpine as build_deps
3
3
4
4
WORKDIR /app
5
5
COPY .yarnrc yarn.lock package.json ./
@@ -8,15 +8,15 @@ RUN --mount=type=cache,target=/root/.yarn YARN_CACHE_FOLDER=/root/.yarn yarn --p
8
8
9
9
COPY --link config ./config/
10
10
COPY --link lit-localize.json \
11
- postcss.config.js \
12
- tailwind.config.js \
13
- tsconfig.json \
14
- webpack.config.js \
15
- webpack.prod.js \
16
- .eslintrc.js \
17
- tsconfig.eslint.json \
18
- index.d.ts \
19
- ./
11
+ postcss.config.js \
12
+ tailwind.config.js \
13
+ tsconfig.json \
14
+ webpack.config.js \
15
+ webpack.prod.js \
16
+ .eslintrc.js \
17
+ tsconfig.eslint.json \
18
+ index.d.ts \
19
+ ./
20
20
21
21
COPY --link lib ./lib/
22
22
COPY --link src ./src/
@@ -29,12 +29,12 @@ ARG GIT_BRANCH_NAME
29
29
ARG VERSION
30
30
31
31
ENV GIT_COMMIT_HASH=${GIT_COMMIT_HASH} \
32
- GIT_BRANCH_NAME=${GIT_BRANCH_NAME} \
33
- VERSION=${VERSION}
32
+ GIT_BRANCH_NAME=${GIT_BRANCH_NAME} \
33
+ VERSION=${VERSION}
34
34
35
35
# Prevent Docker image including node_modules to save space
36
36
RUN yarn build && \
37
- rm -rf ./node_modules
37
+ rm -rf ./node_modules
38
38
39
39
FROM --platform=$BUILDPLATFORM docker.io/library/python:3.12-slim as build_docs
40
40
You can’t perform that action at this time.
0 commit comments