From 765a3a8c831fef5bb11a2e8e4cc6d605ae0d7a80 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Wed, 12 Apr 2023 22:27:05 +0200 Subject: [PATCH] Switch dockerfile to yarn --- Dockerfile | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 16a0c91..0399de2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,9 +9,9 @@ WORKDIR /usr/src/app ENV NODE_ENV=production -COPY ["package.json", "package-lock.json", "/usr/src/app/"] +COPY ["package.json", "yarn.lock", "/usr/src/app/"] -RUN npm install +RUN yarn install COPY lib/ /usr/src/app/lib diff --git a/package.json b/package.json index fd3d0d0..4653ebd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rss-telegram-bot", - "version": "1.0.0", + "version": "1.0.2", "main": "lib/index.js", "author": "Fabian Stamm ", "license": "MIT",