From 0c560440833932d23d128e6dd77fc8e4012f8f7d Mon Sep 17 00:00:00 2001 From: lefos Date: Tue, 5 Oct 2021 00:24:00 +0300 Subject: [PATCH] dockerfile --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 001d0772..1635a35a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,11 @@ RUN apk add --no-cache nodejs npm COPY . /usr/src/app WORKDIR /usr/src/app -RUN npm install pm2 -g + +RUN npm --prefix swarmlab-app/src install +RUN npm install pm2 -g + +# RUN npm --prefix /swarmlab-app/src install express EXPOSE 3000