FROM node:lts WORKDIR /src COPY . . RUN yarn && \ yarn build:prod && \ yarn global add pm2 http-server EXPOSE 80 # CMD ["http-server","/src/dist","-p","80"] CMD ["bash","http.sh"]