demo ci
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2021-06-05 22:26:15 +08:00
parent 8572222960
commit ad8f790e18
6 changed files with 50 additions and 102 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
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"]