Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

Commit 3374d79

Browse files
committed
Cleanup
1 parent 92b5255 commit 3374d79

File tree

7 files changed

+113
-107
lines changed

7 files changed

+113
-107
lines changed
File renamed without changes.

Dockerfile

+10-7
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,24 @@ WORKDIR /app
1414
COPY package.json package-lock.json ./
1515
RUN npm ci
1616

17-
COPY tsconfig.json ./
18-
COPY tsoa.json ./
19-
COPY ai-plugin.json ./
17+
COPY tsconfig.json .
18+
COPY tsoa.json .
2019
COPY scripts/ ./scripts/
2120
COPY src ./src
2221
RUN npm run build
2322

2423
# Export image
2524
FROM node:lts-slim
26-
COPY --from=modules ./app ./app
27-
COPY --from=build ./app/lib ./app/lib
28-
COPY --from=build ./app/openapi.yaml ./app/ai-plugin.json ./app/
2925

3026
WORKDIR /app
3127

28+
RUN mkdir -p .well-known
29+
COPY .well-known/ai-plugin.json ./.well-known/ai-plugin.json
30+
31+
COPY --from=modules ./app .
32+
COPY --from=build ./app/lib ./lib
33+
COPY --from=build ./app/openapi.yaml .
34+
3235
EXPOSE 3000
3336

34-
ENTRYPOINT ["node", "lib/index.js"]
37+
CMD ["node", "lib/index.js"]

0 commit comments

Comments
 (0)