Skip to content

Commit

Permalink
downgrade to node18 to fix muti-arch build
Browse files Browse the repository at this point in the history
seems tto be related to a qemu bug
see nodejs/docker-node#1798
  • Loading branch information
keydon committed Jan 3, 2025
1 parent aa58049 commit 72836bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#### Step 1 ####
FROM node:alpine as linter
FROM node:18-alpine as linter

WORKDIR /home/node/app
COPY package*.json ./
Expand All @@ -9,14 +9,14 @@ RUN npm test
RUN npm run lint

#### Step 2 ####
FROM node:alpine as production-builder
FROM node:18-alpine as production-builder

WORKDIR /home/node/app
COPY package*.json ./
RUN npm install --production

#### Step 3 ####
FROM node:alpine as app
FROM node:18-alpine as app

ENV GOOGLE_HOME_KODI_CONFIG="/config/kodi-hosts.config.js"
ENV NODE_ENV=production
Expand Down

0 comments on commit 72836bd

Please sign in to comment.