We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ba5595 commit 2b8dbadCopy full SHA for 2b8dbad
Dockerfile
@@ -7,11 +7,10 @@ ENV NODE_ENV=production
7
# set working directory.
8
WORKDIR /kutt
9
10
-# download dependencies while using Docker's caching
11
-RUN --mount=type=bind,source=package.json,target=package.json \
12
- --mount=type=bind,source=package-lock.json,target=package-lock.json \
13
- --mount=type=cache,target=/root/.npm \
14
- npm ci --omit=dev
+# download dependencies
+COPY package.json package-lock.json ./
+
+RUN npm ci
15
16
RUN mkdir -p /var/lib/kutt
17
0 commit comments