Skip to content

Commit 66f1953

Browse files
committed
docker(Dockerfile): include build tools in the img
this will increase the size of the images noticeably but it's necessary because prebuilt binaries for some packages are not available for the latest versions of libraries anymore. Signed-off-by: TRACTION <[email protected]>
1 parent 928e461 commit 66f1953

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ FROM node:lts-alpine as build
22

33
WORKDIR /app
44

5+
RUN apk add --no-cache make g++ python3
6+
57
COPY src src
68
COPY package.json tsconfig.json ./
79

@@ -13,7 +15,7 @@ FROM node:lts-alpine
1315

1416
WORKDIR /app
1517

16-
RUN apk add ffmpeg
18+
RUN apk add --no-cache make g++ python3 ffmpeg
1719

1820
COPY package.json ./
1921
COPY settings.example.yaml ./settings.yaml

0 commit comments

Comments
 (0)