Skip to content

Commit

Permalink
fix(Dockerfile): use old alpine to avoid node-gyp compile
Browse files Browse the repository at this point in the history
  • Loading branch information
MrOrz committed Jan 2, 2024
1 parent 1f4103d commit 940015a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Builds production image for rumors-api.
#
FROM node:18-alpine AS builder
FROM node:18-alpine3.18 AS builder
WORKDIR /srv/www

# make node_modules cached.
Expand All @@ -17,7 +17,7 @@ RUN node_modules/.bin/babel src -d build
RUN npm prune --production

#########################################
FROM node:18-alpine
FROM node:18-alpine3.18
RUN apk update && apk add ffmpeg

WORKDIR /srv/www
Expand Down

0 comments on commit 940015a

Please sign in to comment.