From 1e371473ad767d05dfb2c39b03ba430057130157 Mon Sep 17 00:00:00 2001 From: benweet Date: Fri, 19 Jan 2018 22:56:11 +0000 Subject: [PATCH] Fixed Dockerfile --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2f79019e..7be2e835 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,14 +13,13 @@ RUN npm pack stackedit@$V4_VERSION \ WORKDIR /opt/stackedit COPY package.json /opt/stackedit/ -COPY yarn.lock /opt/stackedit/ +COPY package-lock.lock /opt/stackedit/ COPY gulpfile.js /opt/stackedit/ RUN npm install \ - && npm cache clean --force \ - && npm run build + && npm cache clean --force COPY . /opt/stackedit ENV NODE_ENV production -RUN yarn run build +RUN npm run build EXPOSE 8080