1 parent ffec0bb commit f8fa32fCopy full SHA for f8fa32f
1 file changed
Dockerfile
@@ -5,8 +5,10 @@
5
6
FROM node:lts-slim AS dependencies
7
8
+RUN apt-get update && apt-get install -y libatomic1 curl
9
+
10
# Install pnpm
-RUN npm install -g pnpm
11
+RUN curl -fsSL https://get.pnpm.io/install.sh | sh -
12
13
WORKDIR /app
14
@@ -24,11 +26,11 @@ RUN mkdir app && pnpm exec tsx ./scripts/removeHinting.ts
24
26
25
27
FROM node:lts-slim AS builder
28
-# Install pnpm
29
+# ca-certificatesはビルド中にsentryでソースマップをアップロードするのに必要
30
+RUN apt-get update && apt-get install -y ca-certificates libatomic1 curl
31
-# ビルド中にsentryでソースマップをアップロードするのに必要
-RUN apt-get update && apt-get install -y ca-certificates
32
+# Install pnpm
33
34
35
# Set working directory
36
0 commit comments