Skip to content

Commit

Permalink
- Downgrade to Node 18 in container
Browse files Browse the repository at this point in the history
  • Loading branch information
nwithan8 committed Jan 30, 2024
1 parent 41bdb55 commit 7ba11b9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# Python 3.10 and Node 18 pre-installed on Alpine Linux
FROM nikolaik/python-nodejs:python3.10-nodejs18-alpine
# Python 3.10 pre-installed on Alpine Linux
FROM python:3.10-alpine3.18
WORKDIR /app

# Install Python utilities
RUN apk add --no-cache --update alpine-sdk wget ca-certificates musl-dev libc-dev gcc bash linux-headers

# Install latest Node.js and npm
RUN apk add --no-cache nodejs npm
# Downgrade Node.js to v18 due to arm v7 architecture incompatibility: https://github.com/parse-community/parse-server/pull/8905
RUN npm install -g node@18

# Install pm2
RUN npm install pm2 -g

Expand Down

0 comments on commit 7ba11b9

Please sign in to comment.