From 9b53f1087db17910198462e2ce6736074cd22237 Mon Sep 17 00:00:00 2001 From: Zachary Belford Date: Mon, 10 Feb 2020 14:27:06 -0800 Subject: [PATCH] fix: update server dockerfile --- templates/server/typescript/Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/templates/server/typescript/Dockerfile b/templates/server/typescript/Dockerfile index 244b4617..d857e1cf 100644 --- a/templates/server/typescript/Dockerfile +++ b/templates/server/typescript/Dockerfile @@ -1,8 +1,6 @@ -FROM node:11-alpine +FROM node:12-alpine COPY package.json . RUN npm set progress=false RUN npm install --only=production -COPY ./src ./src -COPY ./bin ./bin -COPY ./templates ./templates -ENTRYPOINT [ "./bin/cli.js" ] +COPY ./build ./build +ENTRYPOINT [ "node ./build/index.js" ]