diff --git a/.dockerignore b/.dockerignore index 99766f5a55..76e9c9d22c 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,6 +1,13 @@ .cache +.claude +.omc +.playwright-mcp .storybook +.venv .vscode +.wolf +playwright-report +*.db *.conf *.Dockerfile *.gz @@ -17,3 +24,4 @@ release !entrypoint.sh !evcc.dist.yaml !package*.json +!tsconfig.json diff --git a/Dockerfile b/Dockerfile index 23c079cdf5..176f7014ee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,11 +13,15 @@ RUN --mount=type=cache,target=/root/.npm npm ci COPY Makefile . COPY *.js ./ COPY *.ts *.mts ./ +COPY tsconfig.json . COPY .browserslistrc . COPY assets assets COPY i18n i18n +# openapi generator inputs, output folder is created below +COPY scripts scripts +COPY server/*.yaml server/ -RUN make ui +RUN mkdir -p server/mcp && make ui # STEP 2 build executable binary @@ -45,7 +49,6 @@ RUN --mount=type=cache,target=${GOMODCACHE} go mod download # install tools COPY Makefile . COPY cmd/implement/ cmd/implement/ -COPY cmd/openapi/ cmd/openapi/ COPY api/ api/ RUN --mount=type=cache,target=${GOMODCACHE} make install