diff --git a/Dockerfile b/Dockerfile index e047020..6413c2f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM node:lts-alpine # install simple http server for serving static content -RUN npm install -g http-server +RUN npm install -g serve # make the 'app' folder the current working directory WORKDIR /app @@ -19,4 +19,4 @@ COPY . . RUN npm run build EXPOSE 8080 -CMD [ "http-server", "dist" ] \ No newline at end of file +CMD ["serve", "-s", "dist", "-l", "3000"] \ No newline at end of file