diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2021-03-05 14:46:58 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-05 14:46:58 +0900 |
| commit | 44167ab84ce64323d1584e87b52176de7da36781 (patch) | |
| tree | 1fdf3bdca0e675e46a97ccd8159169cd34589228 /Dockerfile | |
| parent | Merge branch 'develop' of https://github.com/syuilo/misskey into develop (diff) | |
| download | misskey-44167ab84ce64323d1584e87b52176de7da36781.tar.gz misskey-44167ab84ce64323d1584e87b52176de7da36781.tar.bz2 misskey-44167ab84ce64323d1584e87b52176de7da36781.zip | |
Use alpine3.13 on Docker (#7249)
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile index eba3a833bc..c1745fc215 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14.15.4-alpine AS base +FROM node:14.15.5-alpine3.13 AS base ENV NODE_ENV=production @@ -10,7 +10,6 @@ RUN apk add --no-cache \ autoconf \ automake \ file \ - git \ g++ \ gcc \ libc-dev \ @@ -18,8 +17,10 @@ RUN apk add --no-cache \ make \ nasm \ pkgconfig \ - python \ - zlib-dev + python3 \ + zlib-dev \ + vips-dev \ + vips COPY package.json yarn.lock ./ RUN yarn install @@ -30,8 +31,9 @@ FROM base AS runner RUN apk add --no-cache \ ffmpeg \ - tini -RUN npm i -g web-push + tini \ + vips + ENTRYPOINT ["/sbin/tini", "--"] COPY --from=builder /misskey/node_modules ./node_modules |