Skip to content

Commit

Permalink
fix: dockerFile to install python (#1540)
Browse files Browse the repository at this point in the history
  • Loading branch information
Junjiequan authored Jul 31, 2024
1 parent d621d3d commit abefbac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
FROM node:18-alpine AS builder

# Install Python and build dependencies for node-gyp
RUN apk add --no-cache python3 py3-pip make g++ \
&& pip3 install --upgrade pip \
&& apk add --no-cache py3-setuptools py3-wheel py3-distutils

WORKDIR /frontend
COPY package*.json /frontend/
RUN npm ci
Expand Down

0 comments on commit abefbac

Please sign in to comment.