From c86532d9efe57e7b6563fb21da526bdb1fc10ad7 Mon Sep 17 00:00:00 2001 From: Paul Munteanu Date: Thu, 29 Jul 2021 22:23:05 +0300 Subject: [PATCH] [Dockerfile] Copy package-lock.json --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 990f8c54..e07b7d8f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM node:lts-alpine WORKDIR /usr/src/fosscord-gateway COPY package.json . +COPY package-lock.json . RUN apk --no-cache --virtual build-dependencies add \ python \ make \ @@ -10,4 +11,4 @@ RUN apk del build-dependencies COPY . . RUN npm run build EXPOSE 3002 -CMD ["node", "dist/start.js"] \ No newline at end of file +CMD ["node", "dist/start.js"]