improve and document developer setup (#161)

japanese commit
fixes #158
This commit is contained in:
Aleksei Gurianov
2018-07-13 09:54:12 +04:00
committed by GitHub
parent 62a5d7196e
commit a544aff6ac
17 changed files with 728 additions and 347 deletions
+2 -1
View File
@@ -62,9 +62,10 @@ FROM node:10.6-alpine as build-frontend
ARG CI
ARG SKIP_FRONTEND_TEST
ARG NODE_ENV=production
ADD web /srv/web
COPY --from=build-frontend-deps /srv/web/node_modules /srv/web/node_modules
ADD web /srv/web
RUN cd /srv/web && \
if [ -z "$SKIP_FRONTEND_TEST" ] ; then npx run-p lint test build ; \
else echo "skip frontend tests and lint" ; npm run build ; fi && \