We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54d8a61 commit 6396e44Copy full SHA for 6396e44
Dockerfile
@@ -1,14 +1,23 @@
1
# https://github.com/vercel/next.js/blob/canary/examples/with-docker/Dockerfile をベースに
2
3
-FROM node:lts-slim AS builder
+FROM node:lts-slim AS dependencies
4
5
WORKDIR /app
6
7
COPY package.json package-lock.json ./
8
+COPY packages/jsEval/package.json ./packages/jsEval/
9
10
RUN --mount=type=cache,target=/root/.npm \
11
npm ci --no-audit --no-fund
12
13
+FROM node:lts-slim AS builder
14
+
15
+# Set working directory
16
+WORKDIR /app
17
18
+# Copy project dependencies from dependencies stage
19
+COPY --from=dependencies /app/node_modules ./node_modules
20
21
# Copy application source code
22
COPY . .
23
0 commit comments