From 9c22e7150db10c1192977f5cbf1b748c35ba3199 Mon Sep 17 00:00:00 2001 From: infidel Date: Fri, 25 Nov 2022 17:47:09 +0700 Subject: [PATCH] Docker file fix --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bd29229..9f88f8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,11 @@ FROM node:18 WORKDIR /usr/src/app -RUN npm install:clean +COPY package*.json /usr/src/app +RUN npm install +COPY . /usr/src/app +RUN npm build +RUN npm build:tailwind +RUN npm build:fontawesome EXPOSE 5000 CMD ["npm", "start"]