fix: docker build fail on pnpm install with python error (#98)

This commit is contained in:
Thuc Pham
2024-06-27 16:32:31 +07:00
committed by GitHub
parent bcec5d4874
commit df8c8e02e4
+5
View File
@@ -5,6 +5,11 @@ FROM node:18-bookworm-slim AS build
RUN apt-get update
RUN apt-get install -y ca-certificates
# Install Python, g++, and make for building native dependencies
# Issue: https://github.com/docker/getting-started/issues/124
RUN apt-get install -y python3 g++ make && \
apt-get clean
# Set the working directory
WORKDIR /usr/src/app