diff --git a/Dockerfile b/Dockerfile index b1316dc..aaa64f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,10 +5,10 @@ WORKDIR /app COPY package.json . RUN npm install - +RUN npm install -g serve COPY . . - +RUN npm run build EXPOSE 3000 -CMD ["npm", "run", "dev"] \ No newline at end of file +CMD ["serve", "-s", "dist", "-l", "3000"] \ No newline at end of file