diff --git a/daily-thought-frontend/Dockerfile b/daily-thought-frontend/Dockerfile index 95443bb192a2fef04dc4f52454a594cf30a5aa66..daedffb8c81c111d70f4280e75717f96afc2151c 100644 --- a/daily-thought-frontend/Dockerfile +++ b/daily-thought-frontend/Dockerfile @@ -1,5 +1,5 @@ # base image -FROM node:alpine +FROM node:latest # create & set working directory RUN mkdir -p /frontend-service/app @@ -9,6 +9,7 @@ WORKDIR /frontend-service/app COPY . /frontend-service/app # start app +RUN npm install RUN npm run build EXPOSE 9000 CMD npm run dev \ No newline at end of file