Skip to content

Commit 2b8dbad

Browse files
committed
change npm install command on docker to see if fixes the build
1 parent 0ba5595 commit 2b8dbad

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ ENV NODE_ENV=production
77
# set working directory.
88
WORKDIR /kutt
99

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
10+
# download dependencies
11+
COPY package.json package-lock.json ./
12+
13+
RUN npm ci
1514

1615
RUN mkdir -p /var/lib/kutt
1716

0 commit comments

Comments
 (0)