mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
build: update docker file to work with npm
This commit is contained in:
parent
b580fc7442
commit
2802e6978c
1 changed files with 4 additions and 4 deletions
|
|
@ -14,14 +14,14 @@ WORKDIR /app
|
|||
# add `/app/node_modules/.bin` to $PATH
|
||||
ENV PATH /app/node_modules/.bin:$PATH
|
||||
|
||||
RUN yarn
|
||||
RUN yarn global add @angular/cli
|
||||
RUN npm i
|
||||
RUN npm i -g @angular/cli
|
||||
|
||||
# run linter
|
||||
RUN yarn lint
|
||||
RUN npm run lint
|
||||
|
||||
# generate build
|
||||
RUN yarn buildFrontend:prodWeb
|
||||
RUN npm run buildFrontend:prodWeb
|
||||
|
||||
### serve ###
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue