diff --git a/.dockerignore b/.dockerignore index 6a06cae..5d57677 100644 --- a/.dockerignore +++ b/.dockerignore @@ -7,4 +7,5 @@ config.example.json .gitignore .vscode/ budgeteer -budgeteer.exe \ No newline at end of file +budgeteer.exe +**/node_modules/ diff --git a/docker/Dockerfile b/docker/Dockerfile index e470798..d6cbb41 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -11,4 +11,6 @@ COPY --from=godeps /root/go/bin/task /root/go/bin/sqlc /usr/local/bin/ RUN yarn global add @vue/cli ENV PATH="/root/.yarn/bin/:${PATH}" WORKDIR /src +ADD web/package.json /src/web/ +RUN yarn CMD /build.sh