fe-drone-ci/Dockerfile

16 lines
217 B
Docker

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