From a81fc167108999392081942729ddb352f7790cba Mon Sep 17 00:00:00 2001 From: M9713 <m9713@student.jamk.fi> Date: Mon, 17 Jan 2022 21:19:16 +0200 Subject: [PATCH] Update Dockerfile --- conduit-front/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conduit-front/Dockerfile b/conduit-front/Dockerfile index d880ee9..6b64063 100644 --- a/conduit-front/Dockerfile +++ b/conduit-front/Dockerfile @@ -14,3 +14,7 @@ COPY . . EXPOSE 4100 #CMD [ "npm", "start" ] CMD [ "npm", "run", "build" ] + +CMD [ "npm", "install -g", "serve" ] +CMD [ "serve -s", "build" ] + -- GitLab