Add node packages to image
This commit is contained in:
parent
15bb73de30
commit
fa8a2854f2
@ -8,3 +8,4 @@ config.example.json
|
|||||||
.vscode/
|
.vscode/
|
||||||
budgeteer
|
budgeteer
|
||||||
budgeteer.exe
|
budgeteer.exe
|
||||||
|
**/node_modules/
|
||||||
|
@ -11,4 +11,6 @@ COPY --from=godeps /root/go/bin/task /root/go/bin/sqlc /usr/local/bin/
|
|||||||
RUN yarn global add @vue/cli
|
RUN yarn global add @vue/cli
|
||||||
ENV PATH="/root/.yarn/bin/:${PATH}"
|
ENV PATH="/root/.yarn/bin/:${PATH}"
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
ADD web/package.json /src/web/
|
||||||
|
RUN yarn
|
||||||
CMD /build.sh
|
CMD /build.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user